mirror of https://github.com/python/cpython
Merge with PyXML 1.34: Correct typo. Fixes #674700.
This commit is contained in:
parent
995359cbe8
commit
041411a1c7
|
@ -334,7 +334,7 @@ class ExpatBuilder:
|
|||
node = self.document.createComment(data)
|
||||
_append_child(self.curNode, node)
|
||||
if self._filter and self._filter.acceptNode(node) == FILTER_REJECT:
|
||||
curNode.removeChild(node)
|
||||
self.curNode.removeChild(node)
|
||||
|
||||
def start_cdata_section_handler(self):
|
||||
self._cdata = True
|
||||
|
|
Loading…
Reference in New Issue