summaryrefslogtreecommitdiff
path: root/Modules/shamodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-29 13:59:29 +0000
committerGuido van Rossum <guido@python.org>2000-02-29 13:59:29 +0000
commit9c6a95f1147c59ba93e80cf55ac1682748c518ed (patch)
treeeea269daa2fcad11db92b34a67364bd72d48894e /Modules/shamodule.c
parent19ff7ef2bf1cb726f4f929a3bb21aa920ee8525d (diff)
downloadcpython-9c6a95f1147c59ba93e80cf55ac1682748c518ed.tar.gz
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
Diffstat (limited to 'Modules/shamodule.c')
-rw-r--r--Modules/shamodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/shamodule.c b/Modules/shamodule.c
index 76b95b2557..0504fad5d3 100644
--- a/Modules/shamodule.c
+++ b/Modules/shamodule.c
@@ -548,7 +548,7 @@ SHA_new(self, args, kwdict)
if ((new = newSHAobject()) == NULL)
return NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwdict, "|s#", kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, kwdict, "|s#:new", kwlist,
&cp, &len)) {
Py_DECREF(new);
return NULL;