-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
super
builtin class
#123207
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
Labels
docs
Documentation in the Doc dir
Comments
@dongbohu I agree it is a bit confusing. Maybe we can reformulate to something like
Maybe there are better suggestions, otherwise I will open a PR with this suggestion. |
@eendebakpt: I think your proposed wording is much better. Thank you! |
encukou
pushed a commit
that referenced
this issue
Sep 5, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 5, 2024
…er() (pythonGH-123417) (cherry picked from commit 327463a) Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 5, 2024
…er() (pythonGH-123417) (cherry picked from commit 327463a) Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
This was referenced Sep 5, 2024
Merged
ambv
pushed a commit
that referenced
this issue
Sep 6, 2024
ambv
pushed a commit
that referenced
this issue
Sep 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
I found the leading sentence in this paragraph a little misleading:
cpython/Doc/library/functions.rst
Line 1961 in ec89620
because if the
object_or_type
is an object, it won't have__mro__
attribute. The attribute should beobject.__class__.__mro__
.On the other hand, if
object_or_type
is a type (class), then__mro__
attribute does exist.Linked PRs
The text was updated successfully, but these errors were encountered: