core (memory): added __iter__ to PersistentDict
This commit is contained in:
parent
e2e1bb50c2
commit
3fc2e256f2
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@ class PersistentDict(object):
|
|||
def __contains__(self, key):
|
||||
return self._cache.__contains__(key)
|
||||
|
||||
def __iter__(self):
|
||||
return self._cache.__iter__()
|
||||
|
||||
def __getitem__(self, key):
|
||||
return self._cache.__getitem__(key)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue