diff options
| author | Guido van Rossum <guido@python.org> | 2000-02-29 13:59:29 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2000-02-29 13:59:29 +0000 |
| commit | 9c6a95f1147c59ba93e80cf55ac1682748c518ed (patch) | |
| tree | eea269daa2fcad11db92b34a67364bd72d48894e /Modules/shamodule.c | |
| parent | 19ff7ef2bf1cb726f4f929a3bb21aa920ee8525d (diff) | |
| download | cpython-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.c | 2 |
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; |
