MCPcopy Create free account
hub / github.com/ActiveState/code / parsefile

Function parsefile

recipes/Python/52256_Check_xml_wellformedness/recipe-52256.py:6–9  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

4import sys
5
6def parsefile(file):
7 parser = make_parser()
8 parser.setContentHandler(ContentHandler())
9 parser.parse(file)
10
11for arg in sys.argv[1:]:
12 for filename in glob(arg):

Callers 1

recipe-52256.pyFile · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected