[issue24586] Operator precedence for 1<-1==0
R. David Murray
report at bugs.python.org
Tue Jul 7 20:42:40 CEST 2015
R. David Murray added the comment:
You missed the sentence just before the table that mentions that comparisons support chaining (see https://docs.python.org/3/reference/expressions.html#not-in). 1<-1==0 is actually equivalent to (1<-1) and (1==0), which is False.
----------
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24586>
_______________________________________
More information about the Python-bugs-list
mailing list