[docs] Is this a BUG?

glyph glyph at 163.com
Sun Nov 12 08:41:53 EST 2017


Python Ver 2.7  and v3.6.2:5fd33b5




>>> p = True
>>> q = False
>>> p != q
True    # YES
>>> p == q
False   # YES
>>> ( p != q ) != p
False   # YES
>>> p != ( q != p )
False   # YES
>>> p !=  q != p
True    # ???
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20171112/7aac4784/attachment.html>


More information about the docs mailing list