mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.
This commit is contained in:
parent
a30e2256f7
commit
247789cee9
39 changed files with 377 additions and 823 deletions
|
@ -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]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue