[docs] Python BUg

Sangeeta Chauhan sangeetamchauhan at gmail.com
Wed Sep 4 03:10:02 EDT 2019


Precedence of Operatpors is not working in the following cases

>>> 6 or 5>"g"
6
>>> 6 or 5 > "g"
6
>>> 6 or (5 > "g")
6
>>> 6 or (5 > "g")

in the above examples precedence must be given to relational operators and
according to that it should generate error but it is giving output
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20190904/b208e0c4/attachment.html>


More information about the docs mailing list