mirror of https://github.com/python/cpython
Add missing self. before curNode. This may need to be committed
to PyXML, I'm not sure of the procedure.
This commit is contained in:
parent
11a35f545b
commit
bc05fc5d2b
|
@ -269,7 +269,7 @@ class ExpatBuilder:
|
|||
node = self.document.createProcessingInstruction(target, data)
|
||||
_append_child(self.curNode, node)
|
||||
if self._filter and self._filter.acceptNode(node) == FILTER_REJECT:
|
||||
curNode.removeChild(node)
|
||||
self.curNode.removeChild(node)
|
||||
|
||||
def character_data_handler_cdata(self, data):
|
||||
childNodes = self.curNode.childNodes
|
||||
|
|
Loading…
Reference in New Issue