]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-41872: Fix quick extraction of module docstrings from a file in pydoc (GH-127520)
authorSrinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
Wed, 8 Jan 2025 10:32:07 +0000 (16:02 +0530)
committerGitHub <noreply@github.com>
Wed, 8 Jan 2025 10:32:07 +0000 (10:32 +0000)
commit474e419792484d1c16e7d9c99b7bf144136b9307
tree3ec41062488693a5296ccc867ce786a04152d802
parentcdfb8bc93a4d8c06d2404ba2d243937ba209438c
gh-41872: Fix quick extraction of module docstrings from a file in pydoc (GH-127520)

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

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]