commit | 43713e5a2899930a8698e244b0d0fef59a676d17 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Feb 29 13:59:29 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Feb 29 13:59:29 2000 +0000 |
tree | 3d9740aff47f70cea403a2c924a37b468d1eded6 | |
parent | a9b2b4be26df7c3da8a20d1a5f4d2b796e455b4b [diff] [blame] |
Massive patch by Skip Montanaro to add ":name" to as many PyArg_ParseTuple() format string arguments as possible.
diff --git a/Modules/md5module.c b/Modules/md5module.c index ee11ee1..3c001ae 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c
@@ -237,7 +237,7 @@ 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)