Commit fec974d
committed
Update dict.items() for Python 3 compatibility
In Python 3 `items()` return iterators, and a list is never fully
build. The `items()` method in Python 3 works like `viewitems()` in
Python 2.7.
For more information see:
https://docs.python.org/3/whatsnew/3.0.html#views-and-iterators-instead-of-lists1 parent e9334a8 commit fec974d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments