diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-04-09 14:57:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 14:57:31 (GMT) |
commit | 558e7e42becd52dc6fa828b072083c6855be6f8b (patch) | |
tree | 0ce39b469d8a602cc92dbf69bcc9b7ba02394d0a | |
parent | b571958f546b463656e9b60d4f50164e08d42b82 (diff) | |
download | cpython-558e7e42becd52dc6fa828b072083c6855be6f8b.zip cpython-558e7e42becd52dc6fa828b072083c6855be6f8b.tar.gz cpython-558e7e42becd52dc6fa828b072083c6855be6f8b.tar.bz2 |
Fix misleading docsting of shelve.open(). (GH-6427)
The protocol parameter can be any protocol supported by the
pickle module.
(cherry picked from commit 2ef65f346a5e829a886c075f519e3a49a2ebbde7)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-rw-r--r-- | Lib/shelve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shelve.py b/Lib/shelve.py index 4a56c93..5d443a0 100644 --- a/Lib/shelve.py +++ b/Lib/shelve.py @@ -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. """ |