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

Function parseString

Lib/xml/dom/pulldom.py:329–336  ·  view source on GitHub ↗
(string, parser=None)

Source from the content-addressed store, hash-verified

327 return DOMEventStream(stream, parser, bufsize)
328
329def parseString(string, parser=None):
330 from io import StringIO
331
332 bufsize = len(string)
333 buf = StringIO(string)
334 if not parser:
335 parser = xml.sax.make_parser()
336 return DOMEventStream(buf, parser, bufsize)

Callers

nothing calls this directly

Calls 3

StringIOClass · 0.90
DOMEventStreamClass · 0.85
make_parserMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…