mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Remove DictMixin which is superceded by collections.MutableMapping
This commit is contained in:
parent
d190f9c45e
commit
edf3b734c0
6 changed files with 10 additions and 261 deletions
|
@ -32,8 +32,7 @@ storage.
|
|||
import pickle
|
||||
import sys
|
||||
|
||||
#At version 2.3 cPickle switched to using protocol instead of bin and
|
||||
#DictMixin was added
|
||||
#At version 2.3 cPickle switched to using protocol instead of bin
|
||||
if sys.version_info[:3] >= (2, 3, 0):
|
||||
HIGHEST_PROTOCOL = pickle.HIGHEST_PROTOCOL
|
||||
def _dumps(object, protocol):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue