Unverified Kaydet (Commit) 2ef65f34 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka Kaydeden (comit) GitHub

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

The protocol parameter can be any protocol supported by the
pickle module.
üst 9c463ec8
......@@ -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.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment