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
And has higher precedence than or, so intersection should have higher precedence than union.
The text was updated successfully, but these errors were encountered:
That's conveniently what we get from & and |.
&
|
Sorry, something went wrong.
True. Should we mention it in the PEP or is it obvious enough?
I think it's worth mentioning that it's a consequence of Python's operator precedence. No reason to leave a doubt about the PEP author's intention.
No branches or pull requests
And has higher precedence than or, so intersection should have higher precedence than union.
The text was updated successfully, but these errors were encountered: