Skip to content

bpo-32226: Make __class_getitem__ an automatic class method. #5098

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

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 4, 2018

Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for implementing this!

I wanted to do this, but unfortunately didn't have time. I will update the typing part accordingly (there is only one little place that needs to be updated).

@serhiy-storchaka serhiy-storchaka merged commit ce5b0e9 into python:master Jan 4, 2018
@serhiy-storchaka serhiy-storchaka deleted the __class_getitem__-classmethod branch January 4, 2018 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants