mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix misleading docsting of shelve.open(). (GH-6427)
The protocol parameter can be any protocol supported by the pickle module.
This commit is contained in:
parent
9c463ec88b
commit
2ef65f346a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
parameter has the same interpretation as the flag parameter of
|
||||
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.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue