micropython/tests/basics/iter0.py

7 wiersze
111 B
Python

# builtin type that is not iterable
try:
for i in 1:
pass
except TypeError:
print('TypeError')