Closed NeilGirdhar closed 3 months ago
That's conveniently what we get from &
and |
.
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.
And has higher precedence than or, so intersection should have higher precedence than union.