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

Function parse_files

Tools/c-analyzer/cpython/_parser.py:406–424  ·  view source on GitHub ↗
(filenames=None, *,
                match_kind=None,
                ignore_exc=None,
                log_err=None,
                get_file_preprocessor=None,
                **file_kwargs
                )

Source from the content-addressed store, hash-verified

404
405
406def parse_files(filenames=None, *,
407 match_kind=None,
408 ignore_exc=None,
409 log_err=None,
410 get_file_preprocessor=None,
411 **file_kwargs
412 ):
413 if get_file_preprocessor is None:
414 get_file_preprocessor = get_preprocessor(
415 ignore_exc=ignore_exc,
416 log_err=log_err,
417 )
418 yield from _parse_files(
419 filenames,
420 match_kind=match_kind,
421 get_file_preprocessor=get_file_preprocessor,
422 file_maxsizes=MAX_SIZES,
423 **file_kwargs
424 )

Callers

nothing calls this directly

Calls 2

_parse_filesFunction · 0.85
get_preprocessorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…