micropython/tests/basics/dict_views.py

7 lines
115 B
Python
Raw Normal View History

2014-01-10 01:00:20 +00:00
d = {1: 2}
for m in d.items, d.values, d.keys:
print(m())
print(list(m()))
# set operations still to come