From 092b2a97d2f994c1071752d3719dde1efd1fd3ed Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 20 May 2003 05:15:55 +0000 Subject: [PATCH] SF 740055: optional argument protocol in shelve.open is ignored * added the missing parameter * put optional parameters in correct positional order --- Lib/shelve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/shelve.py b/Lib/shelve.py index 0809b5e6921..059d7f3a00d 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)