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

Method characters

Lib/xml/dom/pulldom.py:154–157  ·  view source on GitHub ↗
(self, chars)

Source from the content-addressed store, hash-verified

152 self.lastEvent = self.lastEvent[1]
153
154 def characters(self, chars):
155 node = self.document.createTextNode(chars)
156 self.lastEvent[1] = [(CHARACTERS, node), None]
157 self.lastEvent = self.lastEvent[1]
158
159 def startDocument(self):
160 if self.documentFactory is None:

Callers 1

charactersMethod · 0.45

Calls 1

createTextNodeMethod · 0.80

Tested by

no test coverage detected