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

Class CDATASection

Lib/xml/dom/minidom.py:1226–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1224
1225
1226class CDATASection(Text):
1227 __slots__ = ()
1228
1229 nodeType = Node.CDATA_SECTION_NODE
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 1

createCDATASectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…