Commit 3985be66 authored by Raymond Hettinger's avatar Raymond Hettinger

SF 740055: optional argument protocol in shelve.open is ignored

* added the missing parameter
* put optional parameters in correct positional order
parent 5d5b19eb
......@@ -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)
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