mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 13:20:14 +02: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")
|