mirror of https://github.com/python/cpython.git
Merge with PyXML 1.34: Correct typo. Fixes #674700.
This commit is contained in:
parent
995359cbe8
commit
041411a1c7
Lib/xml/dom
|
@ -334,7 +334,7 @@ def comment_handler(self, data):
|
|||
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