Commit 0315f47b authored by Raymond Hettinger's avatar Raymond Hettinger

SF 662923: iterator for dbm keys

When shelve and the bsdbm where expanded to a full mapping interface,
this module was missed.
parent 928928ce
......@@ -23,6 +23,7 @@ is read when the database is opened, and some updates rewrite the whole index)
import os as _os
import __builtin__
import UserDict
_open = __builtin__.open
......@@ -30,7 +31,7 @@ _BLOCKSIZE = 512
error = IOError # For anydbm
class _Database:
class _Database(UserDict.DictMixin):
def __init__(self, file, mode):
self._mode = mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment