Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Yes, it is syntactically correct. It can even make sense. But the meaning is different from "except (AError, BError)". If it looks confusing to you, it is a work of linters to warn about misleading or suspicions code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45058> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com