mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Made __iter__ equivalent to iterkeys in IterableMap.
This commit is contained in:
parent
bd15dadf28
commit
dc2c9c55fe
@ -460,6 +460,7 @@ class IterableMap(object):
|
||||
def iterkeys(self):
|
||||
for (key, _) in self.iteritems():
|
||||
yield key
|
||||
__iter__ = iterkeys
|
||||
|
||||
def itervalues(self):
|
||||
for (_, value) in self.iteritems():
|
||||
|
Loading…
Reference in New Issue
Block a user