Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 092b2a9

Browse files
committed
SF 740055: optional argument protocol in shelve.open is ignored
* added the missing parameter * put optional parameters in correct positional order
1 parent 22952a3 commit 092b2a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/shelve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,4 @@ def open(filename, flag='c', protocol=None, writeback=False, binary=None):
228228
See the module's __doc__ string for an overview of the interface.
229229
"""
230230

231-
return DbfilenameShelf(filename, flag, binary, writeback)
231+
return DbfilenameShelf(filename, flag, protocol, writeback, binary)

0 commit comments

Comments
 (0)