Message395479
Oh, this one is actually correct:
match ...:
case 42 as _:
pass
File "<stdin>", line 2
case 42 as _:
^
SyntaxError: expected ':'
That is literally expecting a ":" and that's the error. It has identified "case 42" correctly and it now expects a ":". Is just that the error marker is wrong because it has reached the "as and _" as part of the parsing so the error is there.
That is going to be a bit tricky to "fix" |
|
| Date |
User |
Action |
Args |
| 2021-06-09 21:24:52 | pablogsal | set | recipients:
+ pablogsal, lys.nikolaou, brandtbucher |
| 2021-06-09 21:24:52 | pablogsal | set | messageid: <1623273892.36.0.872827106809.issue44368@roundup.psfhosted.org> |
| 2021-06-09 21:24:52 | pablogsal | link | issue44368 messages |
| 2021-06-09 21:24:52 | pablogsal | create | |
|