diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:30:39 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:30:39 (GMT) |
commit | 8b2e8b6cce4960e945c7c635c350c8e44a0f9022 (patch) | |
tree | 1e5bec3737bb877e4c0d16ac32f60450f957d7dd /Modules/pyexpat.c | |
parent | 7e810a6e3d51e512968f6ac276e555ea99d151d8 (diff) | |
download | cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.zip cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.tar.gz cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.tar.bz2 |
Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.
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 7a8e96a..a43887e 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -707,7 +707,7 @@ get_parse_result(xmlparseobject *self, int rv) pyexpat.xmlparser.Parse data: object - isFinal: int = 0 + isfinal: int(c_default="0") = False / Parse XML data. @@ -717,8 +717,8 @@ Parse XML data. static PyObject * pyexpat_xmlparser_Parse_impl(xmlparseobject *self, PyObject *data, - int isFinal) -/*[clinic end generated code: output=37e105d55645b0f2 input=e37b81b8948ca7e0]*/ + int isfinal) +/*[clinic end generated code: output=f4db843dd1f4ed4b input=199d9e8e92ebbb4b]*/ { const char *s; Py_ssize_t slen; @@ -748,7 +748,7 @@ pyexpat_xmlparser_Parse_impl(xmlparseobject *self, PyObject *data, slen -= MAX_CHUNK_SIZE; } assert(MAX_CHUNK_SIZE < INT_MAX && slen < INT_MAX); - rc = XML_Parse(self->itself, s, (int)slen, isFinal); + rc = XML_Parse(self->itself, s, (int)slen, isfinal); done: if (view.buf != NULL) |