Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
78
class
TestThread(threading.Thread):
79
def
__init__(self, name, testcase, sema, mutex, nrunning):
Callers
5
test_basics
Method · 0.95
test_various_ops
Method · 0.95
run
Method · 0.45
f
Method · 0.45
test_foreign_thread
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected