micropython/tests/basics/iter0.py

7 lines
111 B
Python
Raw Normal View History

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