Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the

same line as function name.
This commit is contained in:
Serhiy Storchaka 2015-04-24 00:40:51 +03:00
parent a30e2256f7
commit 247789cee9
39 changed files with 377 additions and 823 deletions

View file

@ -30,8 +30,7 @@ unicode_maketrans(void *null, PyObject *args)
PyObject *y = NULL;
PyObject *z = NULL;
if (!PyArg_ParseTuple(args,
"O|UU:maketrans",
if (!PyArg_ParseTuple(args, "O|UU:maketrans",
&x, &y, &z))
goto exit;
return_value = unicode_maketrans_impl(x, y, z);
@ -39,4 +38,4 @@ unicode_maketrans(void *null, PyObject *args)
exit:
return return_value;
}
/*[clinic end generated code: output=4670413843c53055 input=a9049054013a1b77]*/
/*[clinic end generated code: output=94affdff5b2daff5 input=a9049054013a1b77]*/