KEMBAR78
Document ClassVar by nanjekyejoannah · Pull Request #5733 · python/mypy · GitHub
Skip to content

Conversation

nanjekyejoannah
Copy link
Contributor

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

@ilevkivskyi
Copy link
Member

I think @JukkaL might want to review this.

Copy link
Collaborator

@JukkaL JukkaL left a 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.

@gvanrossum
Copy link
Member

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.

Copy link
Contributor Author

@nanjekyejoannah nanjekyejoannah left a 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.

Copy link
Collaborator

@JukkaL JukkaL left a 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.

@JukkaL JukkaL merged commit b67530e into python:master Oct 16, 2018
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.

Document ClassVar

4 participants