diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-02-11 13:19:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 13:19:44 (GMT) |
commit | 2939ad02be62110ffa2ac6c4d9211c85e1d1720f (patch) | |
tree | ea81ce4398d6401329b434ac36acf34c6ed60bcb /Misc | |
parent | b1043607884d774acabd255ecdcebb159f76a2fb (diff) | |
download | cpython-2939ad02be62110ffa2ac6c4d9211c85e1d1720f.zip cpython-2939ad02be62110ffa2ac6c4d9211c85e1d1720f.tar.gz cpython-2939ad02be62110ffa2ac6c4d9211c85e1d1720f.tar.bz2 |
gh-97959: Fix rendering of routines in pydoc (GH-113941)
* 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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-01-11-15-10-53.gh-issue-97959.UOj6d4.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-01-11-15-10-53.gh-issue-97959.UOj6d4.rst b/Misc/NEWS.d/next/Library/2024-01-11-15-10-53.gh-issue-97959.UOj6d4.rst new file mode 100644 index 0000000..a317271 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-01-11-15-10-53.gh-issue-97959.UOj6d4.rst @@ -0,0 +1,7 @@ +Fix rendering class methods, bound methods, method and function aliases in +:mod:`pydoc`. 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. |