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

Function main

Tools/c-analyzer/c_analyzer/__main__.py:526–531  ·  view source on GitHub ↗
(cmd, cmd_kwargs)

Source from the content-addressed store, hash-verified

524
525
526def main(cmd, cmd_kwargs):
527 try:
528 run_cmd = COMMANDS[cmd][0]
529 except KeyError:
530 raise ValueError(f'unsupported cmd {cmd!r}')
531 run_cmd(**cmd_kwargs)
532
533
534if __name__ == '__main__':

Callers 1

__main__.pyFile · 0.70

Calls 1

run_cmdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…