We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
|
Union
This feature is officially in Python 3.10, but it can be used in previous versions with from __future__ import annotations. It's much easier to read.
from __future__ import annotations
In most places it will also be easier to read None | Type rather than Optional[Type].
None | Type
Optional[Type]
The text was updated successfully, but these errors were encountered:
52f6666
When branches are created from issues, their pull requests are automatically linked.
This feature is officially in Python 3.10, but it can be used in previous versions with
from __future__ import annotations
. It's much easier to read.In most places it will also be easier to read
None | Type
rather thanOptional[Type]
.The text was updated successfully, but these errors were encountered: