diff options
| author | John R. Lenton | 2014-01-06 17:17:02 +0000 |
|---|---|---|
| committer | John R. Lenton | 2014-01-07 22:51:08 +0000 |
| commit | a41fe31322e92f84ecee4f3e6295bed2ec9120fd (patch) | |
| tree | 4060059d7ca52c1946aa51e928e7d612f74fc94a /tests | |
| parent | 24507aff7d8a4580ac35d87d8fc762858691c88c (diff) | |
Added dict iterator.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basics/tests/dict_iterator.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/tests/dict_iterator.py b/tests/basics/tests/dict_iterator.py new file mode 100644 index 000000000..f190e32ff --- /dev/null +++ b/tests/basics/tests/dict_iterator.py @@ -0,0 +1,3 @@ +d = {1: 2, 3: 4} +for i in d: + print(i, d[i]) |
