MCPcopy Create free account
hub / github.com/python/cpython / cmd_parse

Function cmd_parse

Tools/c-analyzer/cpython/__main__.py:139–148  ·  view source on GitHub ↗
(filenames=None, **kwargs)

Source from the content-addressed store, hash-verified

137
138
139def cmd_parse(filenames=None, **kwargs):
140 filenames = _resolve_filenames(filenames)
141 if 'get_file_preprocessor' not in kwargs:
142 kwargs['get_file_preprocessor'] = _parser.get_preprocessor()
143 c_parser.cmd_parse(
144 filenames,
145 relroot=REPO_ROOT,
146 file_maxsizes=_parser.MAX_SIZES,
147 **kwargs
148 )
149
150
151def _cli_check(parser, **kwargs):

Callers

nothing calls this directly

Calls 1

_resolve_filenamesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…