Skip to content

Commit

Permalink
SF 740055: optional argument protocol in shelve.open is ignored
Browse files Browse the repository at this point in the history
* added the missing parameter
* put optional parameters in correct positional order
  • Loading branch information
rhettinger committed May 20, 2003
1 parent 22952a3 commit 092b2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/shelve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 092b2a9

Please sign in to comment.