diff options
author | Raymond Hettinger <python@rcn.com> | 2009-01-29 22:26:20 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-01-29 22:26:20 (GMT) |
commit | 7fc0dd7b5bb1c43497de4ccb8e6f922e3c3f8ca6 (patch) | |
tree | 27d7d8e139f2b6b91527c05fee87a3d6ffbe5cc7 | |
parent | 0dcc3cdca5b6f0fcb64cce756e552f43c74785e7 (diff) | |
download | cpython-7fc0dd7b5bb1c43497de4ccb8e6f922e3c3f8ca6.zip cpython-7fc0dd7b5bb1c43497de4ccb8e6f922e3c3f8ca6.tar.gz cpython-7fc0dd7b5bb1c43497de4ccb8e6f922e3c3f8ca6.tar.bz2 |
Fix error in docs. The source says proto 2 is the default.
-rw-r--r-- | Doc/library/shelve.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst index 1c35f47..b39a92c 100644 --- a/Doc/library/shelve.rst +++ b/Doc/library/shelve.rst @@ -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 |