https://github.com/python/cpython/commit/2db299ddecb8f4911446a1d1ebf1829db81e989d
commit: 2db299ddecb8f4911446a1d1ebf1829db81e989d
branch: main
author: Cody Maloney <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-10-06T19:53:07+01:00
summary:

gh-126273: Fix make clinic warnings (#158892)

files:
M Modules/_elementtree.c
M Modules/pyexpat.c

diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index 8d7010c7bb90c8..cee564c2c1c1f0 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -3775,7 +3775,6 @@ ignore_attribute_error(PyObject *value)
 }
 
 /*[clinic input]
-@permit_long_summary
 _elementtree.XMLParser.__init__
 
     *
@@ -3793,7 +3792,7 @@ file: http://www.iana.org/assignments/character-sets
 static int
 _elementtree_XMLParser___init___impl(XMLParserObject *self, PyObject *target,
                                      const char *encoding)
-/*[clinic end generated code: output=3ae45ec6cdf344e4 input=43dcd316382c80a2]*/
+/*[clinic end generated code: output=3ae45ec6cdf344e4 input=a77eb075d276d487]*/
 {
     self->entity = PyDict_New();
     if (!self->entity)
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 4ab076224cdd91..8dddca42bbdf67 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1079,7 +1079,6 @@ 
pyexpat_xmlparser_GetSpecifiedAttributeCount_impl(xmlparseobject *self)
 }
 
 /*[clinic input]
-@permit_long_summary
 pyexpat.xmlparser.GetInputContext
 
 Return the input which generated the current event as bytes.
@@ -1093,7 +1092,7 @@ available.
 
 static PyObject *
 pyexpat_xmlparser_GetInputContext_impl(xmlparseobject *self)
-/*[clinic end generated code: output=a88026d683fc22cc input=13840373d8320ab6]*/
+/*[clinic end generated code: output=a88026d683fc22cc input=2d605aaa9edbb415]*/
 {
     if (self->in_callback) {
         int offset, size;

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to