Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ dec
Method
dec
Lib/test/test_threading.py:73–74 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
71
def
inc(self):
72
self.value += 1
73
def
dec(self):
74
self.value -= 1
75
def
get(self):
76
return
self.value
77
Callers
1
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected