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

Method __init__

Lib/test/test_threading.py:79–84  ·  view source on GitHub ↗
(self, name, testcase, sema, mutex, nrunning)

Source from the content-addressed store, hash-verified

77
78class TestThread(threading.Thread):
79 def __init__(self, name, testcase, sema, mutex, nrunning):
80 threading.Thread.__init__(self, name=name)
81 self.testcase = testcase
82 self.sema = sema
83 self.mutex = mutex
84 self.nrunning = nrunning
85
86 def run(self):
87 delay = random.random() / 10000.0

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected