mirror of https://github.com/python/cpython.git
The new default protocol is two.
This commit is contained in:
parent
a941d2df90
commit
ba99c58872
|
@ -75,7 +75,7 @@ def __init__(self, dict, protocol=None, writeback=False,
|
|||
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