Fix misleading docsting of shelve.open(). (GH-6427)

The protocol parameter can be any protocol supported by the
pickle module.
(cherry picked from commit 2ef65f346a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-04-09 08:06:25 -07:00 committed by GitHub
parent 1429ac9f2c
commit 2d01ac5917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ def open(filename, flag='c', protocol=None, writeback=False):
filename and more than one file may be created. The optional flag filename and more than one file may be created. The optional flag
parameter has the same interpretation as the flag parameter of parameter has the same interpretation as the flag parameter of
dbm.open(). The optional protocol parameter specifies the dbm.open(). The optional protocol parameter specifies the
version of the pickle protocol (0, 1, or 2). version of the pickle protocol.
See the module's __doc__ string for an overview of the interface. See the module's __doc__ string for an overview of the interface.
""" """