summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-01-26 09:01:30 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-01-26 09:01:30 (GMT)
commit041411a1c70e0e01fb32864359990d4fd3a20f97 (patch)
treec4723ce465d184342ef77fc814ac68bb1919bd53 /Lib/xml/dom
parent995359cbe86cc16cbf82039dc0fc4c2917735182 (diff)
downloadcpython-041411a1c70e0e01fb32864359990d4fd3a20f97.zip
cpython-041411a1c70e0e01fb32864359990d4fd3a20f97.tar.gz
cpython-041411a1c70e0e01fb32864359990d4fd3a20f97.tar.bz2
Merge with PyXML 1.34: Correct typo. Fixes #674700.
Diffstat (limited to 'Lib/xml/dom')
-rw-r--r--Lib/xml/dom/expatbuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/expatbuilder.py b/Lib/xml/dom/expatbuilder.py
index 5e769ca..59e3ac4 100644
--- a/Lib/xml/dom/expatbuilder.py
+++ b/Lib/xml/dom/expatbuilder.py
@@ -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