-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
__static_attributes__ doesn't include method calls #122445
Comments
cc @iritkatriel |
Maybe probably should only be counting stores, not loads when filling |
I was thinking the same, but then we need to change the documentation as well to make this clear. |
Thank you Irit and Mark ! |
…__ (python#122446) (cherry picked from commit 498376d)
Feature or enhancement
Proposal:
From 3.13 documentation,
__static_attributes__
is A tuple containing names of attributes of this class which are accessed through self.X from any function in its body.`. Is there a reason why subscriptions are included in the result, but not method calls ?Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: