]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-41872: Fix quick extraction of module docstrings from a file in pydoc ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 8 Jan 2025 12:21:30 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Jan 2025 12:21:30 +0000 (14:21 +0200)
commitb69b9da9b5ccf11530651b47ff794ced904bc65d
treea1521b5339086910bc847aede37744058777ea98
parentd8890fb82d07b47d181776c1f2ceff9ce4845e93
[3.12] gh-41872: Fix quick extraction of module docstrings from a file in pydoc (GH-127520) (GH-128621)

It now supports docstrings with single quotes, escape sequences,
raw string literals, and other Python syntax.

(cherry picked from commit 474e419792484d1c16e7d9c99b7bf144136b9307)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/pydoc.py
Lib/test/test_pydoc/test_pydoc.py
Misc/NEWS.d/next/Library/2024-12-17-15-23-40.gh-issue-41872.31LjKY.rst [new file with mode: 0644]