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

Function main

Tools/c-analyzer/cpython/__main__.py:493–498  ·  view source on GitHub ↗
(cmd, cmd_kwargs)

Source from the content-addressed store, hash-verified

491
492
493def main(cmd, cmd_kwargs):
494 try:
495 run_cmd = COMMANDS[cmd][-1]
496 except KeyError:
497 raise ValueError(f'unsupported cmd {cmd!r}')
498 run_cmd(**cmd_kwargs)
499
500
501if __name__ == '__main__':

Callers 3

c-analyzer.pyFile · 0.90
check-c-globals.pyFile · 0.90
__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…