diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index d440045b89e..5cd28de7813 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, "" % self.data) + writer.write("" % self.data) def _nssplit(qualifiedName):