The new default protocol is two.

This commit is contained in:
Raymond Hettinger 2008-02-10 20:41:56 +00:00
parent a941d2df90
commit ba99c58872
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {}