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

Method get

Lib/test/test_threading.py:75–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73 def dec(self):
74 self.value -= 1
75 def get(self):
76 return self.value
77
78class TestThread(threading.Thread):
79 def __init__(self, name, testcase, sema, mutex, nrunning):

Callers 5

test_basicsMethod · 0.95
test_various_opsMethod · 0.95
runMethod · 0.45
fMethod · 0.45
test_foreign_threadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected