-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Allow writing union types as X
| Y
#3419
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
I'm kinda curious about this one, have you started looking at this one already? If not I'll take a shot |
@rtpg No, I didn't. I opened this issue as a task card. You can take this one. 😉 |
By looking at links of the the issue, CPython seems to implement |
Take this one in PyCcon APAC 2021 sprint |
@moreal is this done? |
@youknowone As I know, I believe it is done. |
Feature
Since CPython 3.10 version, it became to allow writing union types as
X | Y
(e.g.int | str
).Python Documentation
The text was updated successfully, but these errors were encountered: