mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
Run Argument Clinic: METH_VARARGS=>METH_FASTCALL
Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using "boring" positional arguments. Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain consistent with the clinic code.
This commit is contained in:
parent
093119e4eb
commit
0c4a828cad
19 changed files with 357 additions and 165 deletions
|
@ -12453,14 +12453,14 @@ str.strip as unicode_strip
|
|||
chars: object = None
|
||||
/
|
||||
|
||||
Return a copy of the string with leading and trailing whitespace removed.
|
||||
Return a copy of the string with leading and trailing whitespace remove.
|
||||
|
||||
If chars is given and not None, remove characters in chars instead.
|
||||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
unicode_strip_impl(PyObject *self, PyObject *chars)
|
||||
/*[clinic end generated code: output=ca19018454345d57 input=385289c6f423b954]*/
|
||||
/*[clinic end generated code: output=ca19018454345d57 input=eefe24a1059c352b]*/
|
||||
{
|
||||
return do_argstrip(self, BOTHSTRIP, chars);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue