mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
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:
parent
22952a3efc
commit
092b2a97d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue