-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Document ClassVar #5733
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
Document ClassVar #5733
Conversation
I think @JukkaL might want to review this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing more documentation! Left some comments -- mostly style/flow issues.
Hey @nanjekyejoannah, do you want to push an updated version in response to Jukka's review? There's still time to get this cherry-picked in the upcoming 0.640 release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gvanrossum Apologies for a late response. Been traveling for ages :). I have made the necessary changes. @JukkaL PTAL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates! Looks good. There are a few things I'll probably tweak in a separate PR but this is fine as is.
This PR fixes #5546.
I have added a section in the class basics documentation with details on when, how and when not to use ClassVar.
cc @ilevkivskyi