summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/pyexpat.c.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-10 03:00:13 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-10 03:00:13 (GMT)
commit37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c (patch)
treef8d51d8b189501476acc7626672de5a3a1ec5538 /Modules/clinic/pyexpat.c.h
parentf0ccbbbc577f686ae5b4ab28a8e61bb524433d2d (diff)
downloadcpython-37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c.zip
cpython-37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c.tar.gz
cpython-37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c.tar.bz2
Issue #27810: Rerun Argument Clinic on all modules
Diffstat (limited to 'Modules/clinic/pyexpat.c.h')
-rw-r--r--Modules/clinic/pyexpat.c.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/clinic/pyexpat.c.h b/Modules/clinic/pyexpat.c.h
index 8a03f67..75a096c 100644
--- a/Modules/clinic/pyexpat.c.h
+++ b/Modules/clinic/pyexpat.c.h
@@ -233,14 +233,14 @@ PyDoc_STRVAR(pyexpat_ParserCreate__doc__,
"Return a new XML parser object.");
#define PYEXPAT_PARSERCREATE_METHODDEF \
- {"ParserCreate", (PyCFunction)pyexpat_ParserCreate, METH_VARARGS|METH_KEYWORDS, pyexpat_ParserCreate__doc__},
+ {"ParserCreate", (PyCFunction)pyexpat_ParserCreate, METH_FASTCALL, pyexpat_ParserCreate__doc__},
static PyObject *
pyexpat_ParserCreate_impl(PyObject *module, const char *encoding,
const char *namespace_separator, PyObject *intern);
static PyObject *
-pyexpat_ParserCreate(PyObject *module, PyObject *args, PyObject *kwargs)
+pyexpat_ParserCreate(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
{
PyObject *return_value = NULL;
static const char * const _keywords[] = {"encoding", "namespace_separator", "intern", NULL};
@@ -249,7 +249,7 @@ pyexpat_ParserCreate(PyObject *module, PyObject *args, PyObject *kwargs)
const char *namespace_separator = NULL;
PyObject *intern = NULL;
- if (!_PyArg_ParseTupleAndKeywordsFast(args, kwargs, &_parser,
+ if (!_PyArg_ParseStack(args, nargs, kwnames, &_parser,
&encoding, &namespace_separator, &intern)) {
goto exit;
}
@@ -289,4 +289,4 @@ exit:
#ifndef PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#define PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#endif /* !defined(PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF) */
-/*[clinic end generated code: output=93cfe662f2bc48e5 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=e889f7c6af6cc42f input=a9049054013a1b77]*/