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

Function parse_file

Tools/c-analyzer/cpython/_parser.py:389–403  ·  view source on GitHub ↗
(filename, *,
               match_kind=None,
               ignore_exc=None,
               log_err=None,
               )

Source from the content-addressed store, hash-verified

387
388
389def parse_file(filename, *,
390 match_kind=None,
391 ignore_exc=None,
392 log_err=None,
393 ):
394 get_file_preprocessor = get_preprocessor(
395 ignore_exc=ignore_exc,
396 log_err=log_err,
397 )
398 yield from _parse_file(
399 filename,
400 match_kind=match_kind,
401 get_file_preprocessor=get_file_preprocessor,
402 file_maxsizes=MAX_SIZES,
403 )
404
405
406def parse_files(filenames=None, *,

Callers

nothing calls this directly

Calls 2

_parse_fileFunction · 0.90
get_preprocessorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…