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

Function main

Tools/c-analyzer/c_parser/__main__.py:250–255  ·  view source on GitHub ↗
(cmd, cmd_kwargs)

Source from the content-addressed store, hash-verified

248
249
250def main(cmd, cmd_kwargs):
251 try:
252 run_cmd = COMMANDS[cmd][0]
253 except KeyError:
254 raise ValueError(f'unsupported cmd {cmd!r}')
255 run_cmd(**cmd_kwargs)
256
257
258if __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…