mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
The new default protocol is two.
This commit is contained in:
parent
a941d2df90
commit
ba99c58872
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class Shelf(collections.MutableMapping):
|
||||||
keyencoding="utf-8"):
|
keyencoding="utf-8"):
|
||||||
self.dict = dict
|
self.dict = dict
|
||||||
if protocol is None:
|
if protocol is None:
|
||||||
protocol = 0
|
protocol = 2
|
||||||
self._protocol = protocol
|
self._protocol = protocol
|
||||||
self.writeback = writeback
|
self.writeback = writeback
|
||||||
self.cache = {}
|
self.cache = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue