summaryrefslogtreecommitdiffstats
path: root/Modules/dbmmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/dbmmodule.c')
-rw-r--r--Modules/dbmmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/dbmmodule.c b/Modules/dbmmodule.c
index 7a234a2..501c3f4 100644
--- a/Modules/dbmmodule.c
+++ b/Modules/dbmmodule.c
@@ -286,7 +286,7 @@ PyObject *args;
int iflags;
int mode = 0666;
- if ( !PyArg_ParseTuple(args, "s|si", &name, &flags, &mode) )
+ if ( !PyArg_ParseTuple(args, "s|si:open", &name, &flags, &mode) )
return NULL;
if ( strcmp(flags, "r") == 0 )
iflags = O_RDONLY;