mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
This commit is contained in:
parent
a9b2b4be26
commit
43713e5a28
37 changed files with 272 additions and 272 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue