summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/minidom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index d440045..5cd28de 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -709,7 +709,7 @@ class CDATASection(Text):
nodeName = "#cdata-section"
def writexml(self, writer, indent="", addindent="", newl=""):
- _write_data(writer, "<![CDATA[%s]]>" % self.data)
+ writer.write("<![CDATA[%s]]>" % self.data)
def _nssplit(qualifiedName):