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

Method ignorableWhitespace

Lib/xml/sax/saxutils.py:215–220  ·  view source on GitHub ↗
(self, content)

Source from the content-addressed store, hash-verified

213 self._write(escape(content))
214
215 def ignorableWhitespace(self, content):
216 if content:
217 self._finish_pending_start_element()
218 if not isinstance(content, str):
219 content = str(content, self._encoding)
220 self._write(content)
221
222 def processingInstruction(self, target, data):
223 self._finish_pending_start_element()

Callers 4

test_xmlgen_ignorableMethod · 0.95
ignorableWhitespaceMethod · 0.45

Calls 3

strFunction · 0.85
_writeMethod · 0.45

Tested by 3

test_xmlgen_ignorableMethod · 0.76