File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14361436 >>> try: pass
14371437 ... except TypeError as name: raise from None
14381438 Traceback (most recent call last):
1439- SyntaxError: invalid syntax
1439+ SyntaxError: did you forget an expression between 'raise' and 'from'?
14401440
14411441 >>> try: pass
14421442 ... except* TypeError as name: raise from None
14431443 Traceback (most recent call last):
1444- SyntaxError: invalid syntax
1444+ SyntaxError: did you forget an expression between 'raise' and 'from'?
14451445
14461446 >>> match 1:
14471447 ... case 1 | 2 as abc: raise from None
14481448 Traceback (most recent call last):
1449- SyntaxError: invalid syntax
1449+ SyntaxError: did you forget an expression between 'raise' and 'from'?
14501450
14511451Ensure that early = are not matched by the parser as invalid comparisons
14521452 >>> f(2, 4, x=34); 1 $ 2
You can’t perform that action at this time.
0 commit comments