[issue44368] Invalid mapping patterns give confusing SyntaxErrors
Brandt Bucher
report at bugs.python.org
Wed Jun 9 17:08:51 EDT 2021
Brandt Bucher <brandtbucher at gmail.com> added the comment:
I found a similar one, by the way (not related to mapping patterns):
match ...:
case 42 as _:
pass
File "<stdin>", line 2
case 42 as _:
^
SyntaxError: expected ':'
Is this covered by your fix?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44368>
_______________________________________
More information about the Python-bugs-list
mailing list