Commit 3d9b984a authored by Raymond Hettinger's avatar Raymond Hettinger

The new default protocol is two.

parent 04acd73f
...@@ -75,7 +75,7 @@ class Shelf(collections.MutableMapping): ...@@ -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 = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment