summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-30 08:30:39 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-30 08:30:39 (GMT)
commit8b2e8b6cce4960e945c7c635c350c8e44a0f9022 (patch)
tree1e5bec3737bb877e4c0d16ac32f60450f957d7dd /Modules/clinic
parent7e810a6e3d51e512968f6ac276e555ea99d151d8 (diff)
downloadcpython-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/clinic')
-rw-r--r--Modules/clinic/pyexpat.c.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/clinic/pyexpat.c.h b/Modules/clinic/pyexpat.c.h
index 72861be..379c5db 100644
--- a/Modules/clinic/pyexpat.c.h
+++ b/Modules/clinic/pyexpat.c.h
@@ -3,7 +3,7 @@ preserve
[clinic start generated code]*/
PyDoc_STRVAR(pyexpat_xmlparser_Parse__doc__,
-"Parse($self, data, isFinal=0, /)\n"
+"Parse($self, data, isfinal=False, /)\n"
"--\n"
"\n"
"Parse XML data.\n"
@@ -15,19 +15,19 @@ PyDoc_STRVAR(pyexpat_xmlparser_Parse__doc__,
static PyObject *
pyexpat_xmlparser_Parse_impl(xmlparseobject *self, PyObject *data,
- int isFinal);
+ int isfinal);
static PyObject *
pyexpat_xmlparser_Parse(xmlparseobject *self, PyObject *args)
{
PyObject *return_value = NULL;
PyObject *data;
- int isFinal = 0;
+ int isfinal = 0;
if (!PyArg_ParseTuple(args, "O|i:Parse",
- &data, &isFinal))
+ &data, &isfinal))
goto exit;
- return_value = pyexpat_xmlparser_Parse_impl(self, data, isFinal);
+ return_value = pyexpat_xmlparser_Parse_impl(self, data, isfinal);
exit:
return return_value;
@@ -281,4 +281,4 @@ exit:
#ifndef PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#define PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#endif /* !defined(PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF) */
-/*[clinic end generated code: output=958c0faa1b855fc7 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=bf4d99c9702d8a6c input=a9049054013a1b77]*/