mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
Merge with PyXML 1.34: Correct typo. Fixes #674700.
This commit is contained in:
parent
995359cbe8
commit
041411a1c7
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ class ExpatBuilder:
|
||||||
node = self.document.createComment(data)
|
node = self.document.createComment(data)
|
||||||
_append_child(self.curNode, node)
|
_append_child(self.curNode, node)
|
||||||
if self._filter and self._filter.acceptNode(node) == FILTER_REJECT:
|
if self._filter and self._filter.acceptNode(node) == FILTER_REJECT:
|
||||||
curNode.removeChild(node)
|
self.curNode.removeChild(node)
|
||||||
|
|
||||||
def start_cdata_section_handler(self):
|
def start_cdata_section_handler(self):
|
||||||
self._cdata = True
|
self._cdata = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue