Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Lib/threading.py:595–597 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
593
# After Tim Peters' event class (without is_posted())
594
595
def
__init__(self):
596
self._cond = Condition(Lock())
597
self._flag = False
598
599
def
__repr__(self):
600
cls = self.__class__
Callers
4
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
Calls
2
Condition
Class · 0.70
Lock
Class · 0.50
Tested by
no test coverage detected