mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Test that traceback module works with SyntaxErrors with or without carets.
This commit is contained in:
parent
ed9d0ba482
commit
09ccc3a22a
3 changed files with 43 additions and 0 deletions
2
Lib/test/nocaret.py
Normal file
2
Lib/test/nocaret.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def f(x):
|
||||
[x for x in x] = x
|
Loading…
Add table
Add a link
Reference in a new issue