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

Function _do_pulldom_parse

Lib/xml/dom/minidom.py:1990–1995  ·  view source on GitHub ↗
(func, args, kwargs)

Source from the content-addressed store, hash-verified

1988
1989
1990def _do_pulldom_parse(func, args, kwargs):
1991 events = func(*args, **kwargs)
1992 toktype, rootNode = events.getEvent()
1993 events.expandNode(rootNode)
1994 events.clear()
1995 return rootNode
1996
1997def parse(file, parser=None, bufsize=None):
1998 """Parse a file into a DOM by filename or file object."""

Callers 2

parseFunction · 0.85
parseStringFunction · 0.85

Calls 4

getEventMethod · 0.80
expandNodeMethod · 0.80
funcFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…