From 041411a1c70e0e01fb32864359990d4fd3a20f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 26 Jan 2003 09:01:30 +0000 Subject: [PATCH] Merge with PyXML 1.34: Correct typo. Fixes #674700. --- Lib/xml/dom/expatbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/xml/dom/expatbuilder.py b/Lib/xml/dom/expatbuilder.py index 5e769ca6cd3..59e3ac4fefb 100644 --- a/Lib/xml/dom/expatbuilder.py +++ b/Lib/xml/dom/expatbuilder.py @@ -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