Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Lib/test/test_sched.py:14–17 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
13
class
Timer:
14
def
__init__(self):
15
self._cond = threading.Condition()
16
self._time = 0
17
self._stop = 0
18
19
def
time(self):
20
with
self._cond:
Callers
nothing calls this directly
Calls
1
Condition
Method · 0.45
Tested by
no test coverage detected