MCPcopy Index your code
hub / github.com/python/cpython / writexml

Method writexml

Lib/xml/dom/minidom.py:1232–1235  ·  view source on GitHub ↗
(self, writer, indent="", addindent="", newl="")

Source from the content-addressed store, hash-verified

1230 nodeName = "#cdata-section"
1231
1232 def writexml(self, writer, indent="", addindent="", newl=""):
1233 if self.data.find("]]>") >= 0:
1234 raise ValueError("']]>' not allowed in a CDATA section")
1235 writer.write("<![CDATA[%s]]>" % self.data)
1236
1237
1238class ReadOnlySequentialNamedNodeMap(object):

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected