]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:15 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Jan 2025 12:21:15 +0000 (14:21 +0200)
commitdda55ccf1a4534e326f76a598b72c2849873751a
tree4f4519d180f5b76f361029218cbbb9a12e870a75
parentc0ba0bc54760261f85ec9c646b5af4340348c6f1
[3.13] gh-41872: Fix quick extraction of module docstrings from a file in pydoc (GH-127520) (GH-128620)

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]