From: Raymond Hettinger Date: Tue, 20 May 2003 05:15:55 +0000 (+0000) Subject: SF 740055: optional argument protocol in shelve.open is ignored X-Git-Tag: v2.3c1~665 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=092b2a97d2f994c1071752d3719dde1efd1fd3ed;p=thirdparty%2FPython%2Fcpython.git SF 740055: optional argument protocol in shelve.open is ignored * added the missing parameter * put optional parameters in correct positional order --- diff --git a/Lib/shelve.py b/Lib/shelve.py index 0809b5e6921b..059d7f3a00d5 100644 --- a/Lib/shelve.py +++ b/Lib/shelve.py @@ -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)