-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PEP 484: NewType is now a class, not a function #2199
Comments
I recently had a PR to the mypy docs accepted, tackling this issue: python/mypy#11621 I think similar changes to PEP 484 would be good. |
Indeed. PEP 484 is no longer provisional. |
@gvanrossum It looks like it is still marked as such—should it be updated? |
5 tasks
Yeah, should be Final. :-) |
Opened as PR #2380 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so this section is misleading.
Should we update it? Or do we leave it as is?
CC @JelleZijlstra and @gvanrossum
The text was updated successfully, but these errors were encountered: