mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 17:10:24 +08:00
539681fffd
From now on, all new tests must use underscore. Addresses issue #727.
9 lines
89 B
Python
9 lines
89 B
Python
x = [1, 2]
|
|
|
|
print(x[1])
|
|
|
|
try:
|
|
print(x[1.0])
|
|
except TypeError:
|
|
print("TypeError")
|