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

Function parseString

Lib/xml/dom/expatbuilder.py:914–922  ·  view source on GitHub ↗

Parse a document from a string, returning the resulting Document node.

(string, namespaces=True)

Source from the content-addressed store, hash-verified

912
913
914def parseString(string, namespaces=True):
915 """Parse a document from a string, returning the resulting
916 Document node.
917 """
918 if namespaces:
919 builder = ExpatBuilderNS()
920 else:
921 builder = ExpatBuilder()
922 return builder.parseString(string)
923
924
925def parseFragment(file, context, namespaces=True):

Callers

nothing calls this directly

Calls 3

parseStringMethod · 0.95
ExpatBuilderNSClass · 0.85
ExpatBuilderClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…