Guido van Rossum <gu...@python.org> added the comment:
You may be surprised, but it's not a bug -- '|' binds tighter than 'if'/'else'. If you need more help, please contact a user forum. ---------- nosy: +gvanrossum resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com