Fix error in docs. The source says proto 2 is the default.

This commit is contained in:
Raymond Hettinger 2009-01-29 22:26:20 +00:00
parent 0dcc3cdca5
commit 7fc0dd7b5b
1 changed files with 1 additions and 1 deletions

View 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 database file is opened for reading and writing. The optional *flag* parameter
has the same interpretation as the *flag* parameter of :func:`dbm.open`. 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. pickle protocol can be specified with the *protocol* parameter.
By default, mutations to persistent-dictionary mutable entries are not By default, mutations to persistent-dictionary mutable entries are not