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

* added the missing parameter
* put optional parameters in correct positional order
This commit is contained in:
Raymond Hettinger 2003-05-20 05:15:55 +00:00
parent 22952a3efc
commit 092b2a97d2
1 changed files with 1 additions and 1 deletions

View File

@ -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)