diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-04 20:50:22 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-04 20:50:22 (GMT) |
commit | 3be449ae36cc0a11646dd8f6708e2cebddbe44bf (patch) | |
tree | 0a345fae0cad90ab89ae48d21c6c3c48cf469446 /Lib/bsddb | |
parent | b9da9bc0a04b718e8395e2e88c3053ab944579b7 (diff) | |
download | cpython-3be449ae36cc0a11646dd8f6708e2cebddbe44bf.zip cpython-3be449ae36cc0a11646dd8f6708e2cebddbe44bf.tar.gz cpython-3be449ae36cc0a11646dd8f6708e2cebddbe44bf.tar.bz2 |
Save bsddb changes for a separate check-in.
Diffstat (limited to 'Lib/bsddb')
-rw-r--r-- | Lib/bsddb/dbshelve.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bsddb/dbshelve.py b/Lib/bsddb/dbshelve.py index a2d7bb7..8264f2d 100644 --- a/Lib/bsddb/dbshelve.py +++ b/Lib/bsddb/dbshelve.py @@ -38,12 +38,12 @@ if sys.version_info[:3] >= (2, 3, 0): HIGHEST_PROTOCOL = pickle.HIGHEST_PROTOCOL def _dumps(object, protocol): return pickle.dumps(object, protocol=protocol) - from collections import MutableMapping + from UserDict import DictMixin else: HIGHEST_PROTOCOL = None def _dumps(object, protocol): return pickle.dumps(object, bin=protocol) - class MutableMapping: pass + class DictMixin: pass from . import db |