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