Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
If this is supposed to mirror function calls, maybe the error should be:: >>> match a: ... case A(foo=3, t): File "<stdin>", line 2 case A(foo=3, t): ^ SyntaxError: positional patterns follow keyword patterns ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com