mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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"):
|
||||
self.dict = dict
|
||||
if protocol is None:
|
||||
protocol = 0
|
||||
protocol = 2
|
||||
self._protocol = protocol
|
||||
self.writeback = writeback
|
||||
self.cache = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue