]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] [3.12] gh-97959: Fix rendering of routines in pydoc (GH-113941) (GH-115296...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 11 Feb 2024 15:19:43 +0000 (17:19 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 15:19:43 +0000 (15:19 +0000)
commitb9e90031a3bccda1627b0100c90c7efd6c9fc299
treeef068058c4d61af821f99224f4bce3b61e856395
parent83a69a6a013f4bb88a2a7bf3c1be974c7bc67e45
[3.11] [3.12] gh-97959: Fix rendering of routines in pydoc (GH-113941) (GH-115296) (GH-115302)

* Class methods no longer have "method of builtins.type instance" note.
* Corresponding notes are now added for class and unbound methods.
* Method and function aliases now have references to the module or the
  class where the origin was defined if it differs from the current.
* Bound methods are now listed in the static methods section.
* Methods of builtin classes are now supported as well as methods of
  Python classes.
(cherry picked from commit 2939ad02be62110ffa2ac6c4d9211c85e1d1720f)
(cherry picked from commit cfb79caaab6c4823b6b186aabab642c4dab3927f)
Lib/pydoc.py
Lib/test/pydocfodder.py
Lib/test/test_enum.py
Lib/test/test_pydoc.py
Misc/NEWS.d/next/Library/2024-01-11-15-10-53.gh-issue-97959.UOj6d4.rst [new file with mode: 0644]