Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ release
Method
release
Lib/asyncio/locks.py:462–465 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
460
super().__init__(value)
461
462
def
release(self):
463
if
self._value >= self._bound_value:
464
raise
ValueError(
'BoundedSemaphore released too many times'
)
465
super().release()
466
467
468
Callers
nothing calls this directly
Calls
2
super
Class · 0.85
release
Method · 0.45
Tested by
no test coverage detected