Xqt added a comment.

  Yes the behavior has changed in Python 3.13. I've testet Python 3.7, 3.11 and 
3.13 for this function with doc string:
  
    >>> def foo():
    ...     """
    ...     Bar baz.
    ...     """
  
  `foo.__doc__` gives `'\nBar baz.\n'` for Python 3.13 but `'\n\tBar baz.\n\t'` 
or `'\n    Bar baz.\n    '` for the other two releases. Waiting for the final 
Python 3.13 in October 2024.

TASK DETAIL
  https://phabricator.wikimedia.org/T359069

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, 
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to