mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -234,7 +234,7 @@ fcntl_lockf(self, args)
|
|||
int fd, code, ret, whence = 0;
|
||||
PyObject *lenobj = NULL, *startobj = NULL;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "ii|OOi", &fd, &code,
|
||||
if (!PyArg_ParseTuple(args, "ii|OOi:lockf", &fd, &code,
|
||||
&lenobj, &startobj, &whence))
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue