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/md5module.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/md5module.c')
-rw-r--r-- | Modules/md5module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c index ee11ee1142..3c001ae5e5 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c @@ -237,7 +237,7 @@ MD5_new(self, args) unsigned char *cp = NULL; int len = 0; - if (!PyArg_ParseTuple(args, "|s#", &cp, &len)) + if (!PyArg_ParseTuple(args, "|s#:new", &cp, &len)) return NULL; if ((md5p = newmd5object()) == NULL) |