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

Function process_args

Tools/c-analyzer/c_parser/preprocessor/__main__.py:42–55  ·  view source on GitHub ↗
(args, *, argv)

Source from the content-addressed store, hash-verified

40 process_fail_arg = add_failure_filtering_cli(parser, FAIL)
41
42 def process_args(args, *, argv):
43 ns = vars(args)
44
45 process_fail_arg(args, argv=argv)
46 ignore_exc = ns.pop('ignore_exc')
47 # We later pass ignore_exc to _get_preprocessor().
48
49 args.get_file_preprocessor = get_preprocessor(
50 file_macros=ns.pop('macros'),
51 file_incldirs=ns.pop('incldirs'),
52 file_same=ns.pop('same'),
53 ignore_exc=ignore_exc,
54 log_err=print,
55 )
56 return process_args
57
58

Callers

nothing calls this directly

Calls 2

get_preprocessorFunction · 0.70
popMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…