Skip to content

Commit 2db299d

Browse files
authored
gh-126273: Fix make clinic warnings (#158892)
1 parent 197607e commit 2db299d

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎Modules/_elementtree.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3775,7 +3775,6 @@ ignore_attribute_error(PyObject *value)
37753775
}
37763776

37773777
/*[clinic input]
3778-
@permit_long_summary
37793778
_elementtree.XMLParser.__init__
37803779
37813780
*
@@ -3793,7 +3792,7 @@ file: http://www.iana.org/assignments/character-sets
37933792
static int
37943793
_elementtree_XMLParser___init___impl(XMLParserObject *self, PyObject *target,
37953794
const char *encoding)
3796-
/*[clinic end generated code: output=3ae45ec6cdf344e4 input=43dcd316382c80a2]*/
3795+
/*[clinic end generated code: output=3ae45ec6cdf344e4 input=a77eb075d276d487]*/
37973796
{
37983797
self->entity = PyDict_New();
37993798
if (!self->entity)

‎Modules/pyexpat.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,6 @@ pyexpat_xmlparser_GetSpecifiedAttributeCount_impl(xmlparseobject *self)
10791079
}
10801080

10811081
/*[clinic input]
1082-
@permit_long_summary
10831082
pyexpat.xmlparser.GetInputContext
10841083
10851084
Return the input which generated the current event as bytes.
@@ -1093,7 +1092,7 @@ available.
10931092

10941093
static PyObject *
10951094
pyexpat_xmlparser_GetInputContext_impl(xmlparseobject *self)
1096-
/*[clinic end generated code: output=a88026d683fc22cc input=13840373d8320ab6]*/
1095+
/*[clinic end generated code: output=a88026d683fc22cc input=2d605aaa9edbb415]*/
10971096
{
10981097
if (self->in_callback) {
10991098
int offset, size;

0 commit comments

Comments
 (0)