projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
995359c
)
Merge with PyXML 1.34: Correct typo. Fixes #674700.
author
Martin v. Löwis
<martin@v.loewis.de>
Sun, 26 Jan 2003 09:01:30 +0000
(09:01 +0000)
committer
Martin v. Löwis
<martin@v.loewis.de>
Sun, 26 Jan 2003 09:01:30 +0000
(09:01 +0000)
Lib/xml/dom/expatbuilder.py
patch
|
blob
|
history
diff --git
a/Lib/xml/dom/expatbuilder.py
b/Lib/xml/dom/expatbuilder.py
index 5e769ca6cd34d594a7abda48b3eb8b986a111879..59e3ac4fefb0e9953af6e78e9da5739c1081c7d5 100644
(file)
--- 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