Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
As Steven mentions, match is a soft keyword: >>> import keyword >>> keyword.softkwlist ['_', 'case', 'match'] And they don't follow the same rules as keywords. Check the pattern matching PEPs for more info. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44341> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com