summaryrefslogtreecommitdiffstats
path: root/pym/cache/anydbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/cache/anydbm.py')
-rw-r--r--pym/cache/anydbm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/anydbm.py b/pym/cache/anydbm.py
index a4e0003d4..dbc2bc696 100644
--- a/pym/cache/anydbm.py
+++ b/pym/cache/anydbm.py
@@ -60,7 +60,7 @@ class database(fs_template.FsBased):
def _delitem(self, cpv):
del self.__db[cpv]
- def iterkeys(self):
+ def __iter__(self):
return iter(self.__db.keys())
def __contains__(self, cpv):