-
Notifications
You must be signed in to change notification settings - Fork 286
Support PEP 604: Allow writing union types as X | Y #785
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
Comments
Hi - i see the code seems to be checking if the context is 3.10 |
Hi @commentator8 , that's right, the feature made it into python in 3.10 so we don't support it in earlier versions, even with |
Good to know. Thanks. I've recently disabled pytype for our company's pipelines and was hoping to bring it back. |
PEP: https://www.python.org/dev/peps/pep-0604/
Introduces new syntax that we should support as soon as possible so typeshed can start using it (python/typeshed#4819).
The text was updated successfully, but these errors were encountered: