[issue39149] False positive using operator 'AND' while checking keys on dict()

Ned Deily report at bugs.python.org
Sat Dec 28 15:16:39 EST 2019


Ned Deily <nad at python.org> added the comment:

P.S. You should also read the "Operator precedence" section for expressions in the Python Language Reference manual which explains that comparison operators bind tighter than Boolean AND operators:

https://docs.python.org/3/reference/expressions.html#operator-precedence

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39149>
_______________________________________


More information about the Python-bugs-list mailing list