theeshallnotknowethme <nohackingofkrow...@gmail.com> added the comment:
I'd like to expand this to more than just `elif`/`else statements inside `if` statement blocks and make an error for other cases as well. I currently have a PR that has a general error to accommodate those cases. ---------- title: `elif` inside `if` block is a `SyntaxError` -> non-matching `elif`/`else` statements with uninformative errors _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45759> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com