The new default protocol is two.
This commit is contained in:
parent
a941d2df90
commit
ba99c58872
|
@ -75,7 +75,7 @@ class Shelf(collections.MutableMapping):
|
|||
keyencoding="utf-8"):
|
||||
self.dict = dict
|
||||
if protocol is None:
|
||||
protocol = 0
|
||||
protocol = 2
|
||||
self._protocol = protocol
|
||||
self.writeback = writeback
|
||||
self.cache = {}
|
||||
|
|
Loading…
Reference in New Issue