summaryrefslogtreecommitdiffstats
path: root/Modules/bsddbmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-29 13:59:29 (GMT)
committerGuido van Rossum <guido@python.org>2000-02-29 13:59:29 (GMT)
commit43713e5a2899930a8698e244b0d0fef59a676d17 (patch)
tree3d9740aff47f70cea403a2c924a37b468d1eded6 /Modules/bsddbmodule.c
parenta9b2b4be26df7c3da8a20d1a5f4d2b796e455b4b (diff)
downloadcpython-43713e5a2899930a8698e244b0d0fef59a676d17.zip
cpython-43713e5a2899930a8698e244b0d0fef59a676d17.tar.gz
cpython-43713e5a2899930a8698e244b0d0fef59a676d17.tar.bz2
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
Diffstat (limited to 'Modules/bsddbmodule.c')
-rw-r--r--Modules/bsddbmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c
index 514159f..16178ed 100644
--- a/Modules/bsddbmodule.c
+++ b/Modules/bsddbmodule.c
@@ -697,7 +697,7 @@ bsdhashopen(self, args)
int hash = 0; /* XXX currently ignored */
int lorder = 0;
- if (!PyArg_ParseTuple(args, "s|siiiiiii",
+ if (!PyArg_ParseTuple(args, "s|siiiiiii:hashopen",
&file, &flag, &mode,
&bsize, &ffactor, &nelem, &cachesize,
&hash, &lorder))
@@ -750,7 +750,7 @@ bsdbtopen(self, args)
unsigned int psize = 0;
int lorder = 0;
- if (!PyArg_ParseTuple(args, "s|siiiiiii",
+ if (!PyArg_ParseTuple(args, "s|siiiiiii:btopen",
&file, &flag, &mode,
&btflags, &cachesize, &maxkeypage, &minkeypage,
&psize, &lorder))
@@ -805,7 +805,7 @@ bsdrnopen(self, args)
char *bval = "";
char *bfname = NULL;
- if (!PyArg_ParseTuple(args, "s|siiiiiiss",
+ if (!PyArg_ParseTuple(args, "s|siiiiiiss:rnopen",
&file, &flag, &mode,
&rnflags, &cachesize, &psize, &lorder,
&reclen, &bval, &bfname))