Skip to content

Commit a669454

Browse files
committed
Drop reference to XML_ExternalEntityParserCreate
.. as requested by @picnixz; also add a comma.
1 parent 455787f commit a669454

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Modules/pyexpat.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,9 +1546,8 @@ xmlparse_clear(PyObject *op)
15461546
clear_handlers(self, 0);
15471547
Py_CLEAR(self->intern);
15481548
// NOTE: We cannot call Py_CLEAR(self->parent) prior to calling
1549-
// XML_ParserFree(self->itself) or a subparser (created via
1550-
// XML_ExternalEntityParserCreate could lose its parent XML_Parser
1551-
// while still making use of it internally.
1549+
// XML_ParserFree(self->itself), or a subparser could lose its parent
1550+
// XML_Parser while still making use of it internally.
15521551
// https://github.com/python/cpython/issues/139400
15531552
return 0;
15541553
}

0 commit comments

Comments
 (0)