mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -2743,7 +2743,7 @@ typedef struct {
|
|||
} XMLParserObject;
|
||||
|
||||
static PyObject*
|
||||
_elementtree_XMLParser_doctype(XMLParserObject* self, PyObject* args);
|
||||
_elementtree_XMLParser_doctype(XMLParserObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames);
|
||||
static PyObject *
|
||||
_elementtree_XMLParser_doctype_impl(XMLParserObject *self, PyObject *name,
|
||||
PyObject *pubid, PyObject *system);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue