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

Function mul

Doc/includes/mp_workers.py:28–30  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

26#
27
28def mul(a, b):
29 time.sleep(0.5*random.random())
30 return a * b
31
32def plus(a, b):
33 time.sleep(0.5*random.random())

Callers

nothing calls this directly

Calls 2

sleepMethod · 0.45
randomMethod · 0.45

Tested by

no test coverage detected