MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _write_data

Function _write_data

tools/python-3.11.9-amd64/Lib/xml/dom/minidom.py:303–308  ·  view source on GitHub ↗

Writes datachars to writer.

(writer, data)

Source from the content-addressed store, hash-verified

301 return False
302
303def _write_data(writer, data):
304 "Writes datachars to writer."
305 if data:
306 data = data.replace("&", "&amp;").replace("<", "&lt;"). \
307 replace("\"", "&quot;").replace(">", "&gt;")
308 writer.write(data)
309
310def _get_elements_by_tagName_helper(parent, name, rc):
311 for node in parent.childNodes:

Callers 2

writexmlMethod · 0.85
writexmlMethod · 0.85

Calls 2

replaceMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected