]> granicus.if.org Git - python/commitdiff
Fix error in docs. The source says proto 2 is the default.
authorRaymond Hettinger <python@rcn.com>
Thu, 29 Jan 2009 22:26:20 +0000 (22:26 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 29 Jan 2009 22:26:20 +0000 (22:26 +0000)
Doc/library/shelve.rst

index 1c35f4781cdae6278514226eaf5f80a81bf4f3dd..b39a92ca963e857501aeec8f02e57141db609ecb 100644 (file)
@@ -23,7 +23,7 @@ lots of shared  sub-objects.  The keys are ordinary strings.
    database file is opened for reading and writing.  The optional *flag* parameter
    has the same interpretation as the *flag* parameter of :func:`dbm.open`.
 
-   By default, version 0 pickles are used to serialize values.  The version of the
+   By default, version 2 pickles are used to serialize values.  The version of the
    pickle protocol can be specified with the *protocol* parameter.
 
    By default, mutations to persistent-dictionary mutable entries are not