diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 15:20:03 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-07 15:20:03 (GMT) |
commit | 2954f8399914c77e048f9e3358abfadb7a3f76e9 (patch) | |
tree | c8398eb8aa516e897bbafe9e43cb115d0365bcb0 /Modules/pyexpat.c | |
parent | 50600a78cb6b0e4ea47033a2fd5e982c20a5d946 (diff) | |
parent | 1a2b24f02dfd4eb3383f6ae2b59e5a4eb66fd5bb (diff) | |
download | cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.zip cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.gz cpython-2954f8399914c77e048f9e3358abfadb7a3f76e9.tar.bz2 |
- Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r-- | Modules/pyexpat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 2dafbb0..dc97e9d 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1555,9 +1555,9 @@ Return a new XML parser object. [clinic start generated code]*/ static PyObject * -pyexpat_ParserCreate_impl(PyModuleDef *module, const char *encoding, +pyexpat_ParserCreate_impl(PyObject *module, const char *encoding, const char *namespace_separator, PyObject *intern) -/*[clinic end generated code: output=81fccd233e1743a8 input=23d29704acad385d]*/ +/*[clinic end generated code: output=295c0cf01ab1146c input=23d29704acad385d]*/ { PyObject *result; int intern_decref = 0; @@ -1601,8 +1601,8 @@ Returns string error for given number. [clinic start generated code]*/ static PyObject * -pyexpat_ErrorString_impl(PyModuleDef *module, long code) -/*[clinic end generated code: output=d87668108b6868e5 input=cc67de010d9e62b3]*/ +pyexpat_ErrorString_impl(PyObject *module, long code) +/*[clinic end generated code: output=2feae50d166f2174 input=cc67de010d9e62b3]*/ { return Py_BuildValue("z", XML_ErrorString((int)code)); } |