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
doc Improve wording on classmethod/staticmethod #78266
Comments
""" It can be called either on the class (such as C.f()) or on an instance (such as C().f()) The second paragraph seems like talking about the classmethod function instead of a class method. The same goes for staticmethod.
""" "The instance is ignored except for its class." seems to have been copied from classmethod definition.
"see the description of function definitions in Function definitions" "consult the documentation on the standard type hierarchy in The standard type hierarchy" PR fixes this. |
Thanks for the report and the PR, Andrés! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: