Y
Hacker News
new
|
ask
|
show
|
jobs
by
eru
5422 days ago
Is mydict.items() also lazy?
1 comments
kragen
5422 days ago
In Python 3 yes, in Python 2 no. In Python 2 you'd say mydict.iteritems() if you were concerned about it.
link