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

Function main

Lib/test/_test_venv_multiprocessing.py:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30
31def main():
32 multiprocessing.set_start_method('spawn')
33 test_pool = multiprocessing.Process(target=test_func)
34 test_pool.start()
35 test_pool.join()
36 sys.exit(test_pool.exitcode)
37
38
39if __name__ == "__main__":

Callers 1

Calls 5

set_start_methodMethod · 0.45
ProcessMethod · 0.45
startMethod · 0.45
joinMethod · 0.45
exitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…