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

Function fun

Lib/test/mp_preload_sysargv.py:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8print(f"module:{sys.argv[1:]}")
9
10def fun():
11 # This will be printed when the function is called
12 print(f"fun:{sys.argv[1:]}")
13
14if __name__ == "__main__":
15 ctx = multiprocessing.get_context("forkserver")

Callers 6

test_false_metaMethod · 0.70
eventfunMethod · 0.50
wrapperFunction · 0.50
testFunction · 0.50
plotFunction · 0.50

Calls

no outgoing calls

Tested by 2

test_false_metaMethod · 0.56
wrapperFunction · 0.40