micropython/tests/basics/dict_get.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
65 B
Python
Raw Normal View History

2014-01-06 18:53:16 +00:00
for d in {}, {42:2}:
print(d.get(42))
print(d.get(42,2))