mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 09:30:24 +08:00
34f26ea862
All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py.
7 lines
110 B
Python
7 lines
110 B
Python
# test if eval raises SyntaxError
|
|
|
|
try:
|
|
print(eval("[1,,]"))
|
|
except SyntaxError:
|
|
print("SyntaxError")
|