Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] [3.12] gh-97959: Fix rendering of routines in pydoc (GH-113941) (GH-115296) #115302

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Feb 11, 2024

  • 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 2939ad0)
(cherry picked from commit cfb79ca)

…honGH-113941) (pythonGH-115296)

* 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 2939ad0)
(cherry picked from commit cfb79ca)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) February 11, 2024 15:00
@serhiy-storchaka serhiy-storchaka merged commit b9e9003 into python:3.11 Feb 11, 2024
23 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-cfb79ca-3.11 branch February 19, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant