summaryrefslogtreecommitdiff
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-12 10:10:47 +0200
committerGitHub <noreply@github.com>2017-03-12 10:10:47 +0200
commit202fda55c2dffe27125703225e5af92254602dc6 (patch)
treeafc430d7fa6bdda7251bb60703ff192b9c8a37e1 /Modules/pyexpat.c
parent0767ad40bfe83525d2ba290cc6eb7c97ce01cdd6 (diff)
downloadcpython-git-202fda55c2dffe27125703225e5af92254602dc6.tar.gz
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 653295bc1f..ec7a60b6e9 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -705,7 +705,7 @@ get_parse_result(xmlparseobject *self, int rv)
pyexpat.xmlparser.Parse
data: object
- isfinal: int(c_default="0") = False
+ isfinal: bool(accept={int}) = False
/
Parse XML data.
@@ -716,7 +716,7 @@ Parse XML data.
static PyObject *
pyexpat_xmlparser_Parse_impl(xmlparseobject *self, PyObject *data,
int isfinal)
-/*[clinic end generated code: output=f4db843dd1f4ed4b input=199d9e8e92ebbb4b]*/
+/*[clinic end generated code: output=f4db843dd1f4ed4b input=eb616027bfa9847f]*/
{
const char *s;
Py_ssize_t slen;