circuitpython/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 13:53:16 -05:00
for d in {}, {42:2}:
print(d.get(42))
print(d.get(42,2))