summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-20 05:15:55 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-05-20 05:15:55 (GMT)
commit092b2a97d2f994c1071752d3719dde1efd1fd3ed (patch)
tree2f89c246d9088d4cfa2e2fae3943b1efa7679166 /Lib
parent22952a3efc4813d3aecbe1a7840d6981f0a1e29d (diff)
downloadcpython-092b2a97d2f994c1071752d3719dde1efd1fd3ed.zip
cpython-092b2a97d2f994c1071752d3719dde1efd1fd3ed.tar.gz
cpython-092b2a97d2f994c1071752d3719dde1efd1fd3ed.tar.bz2
SF 740055: optional argument protocol in shelve.open is ignored
* added the missing parameter * put optional parameters in correct positional order
Diffstat (limited to 'Lib')
-rw-r--r--Lib/shelve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shelve.py b/Lib/shelve.py
index 0809b5e..059d7f3 100644
--- a/Lib/shelve.py
+++ b/Lib/shelve.py
@@ -228,4 +228,4 @@ def open(filename, flag='c', protocol=None, writeback=False, binary=None):
See the module's __doc__ string for an overview of the interface.
"""
- return DbfilenameShelf(filename, flag, binary, writeback)
+ return DbfilenameShelf(filename, flag, protocol, writeback, binary)