mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Save bsddb changes for a separate check-in.
This commit is contained in:
parent
b9da9bc0a0
commit
3be449ae36
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue