]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-128772: Fix pydoc for methods with __module__ is None (GH-129177) (GH-129654)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Feb 2025 14:44:02 +0000 (15:44 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Feb 2025 14:44:02 +0000 (14:44 +0000)
commit0d207c3dd10766d44436126f4be2cdd65f9ef9a5
treecdbd1ca32e52d81ada08d003c39bdbdd99c34a70
parent676ee57bd6f177556a696136d3bae3fb136cfd01
[3.12] gh-128772: Fix pydoc for methods with __module__ is None (GH-129177) (GH-129654)

(cherry picked from commit 979d76620990e6f8d68fa63e0ae0db1ec5b4d14c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/pydoc.py
Lib/test/test_pydoc/module_none.py [new file with mode: 0644]
Lib/test/test_pydoc/test_pydoc.py
Misc/NEWS.d/next/Library/2025-01-22-13-29-06.gh-issue-128772.6YrxYM.rst [new file with mode: 0644]