Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
Technically this example si more or less equivalent to: [ something, blech if 42: True [Bluch]] I wonder if the better fix here is just not to raise the rule if we find a ':', which is the only token that actually makes sense after 'if' expression ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com