Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _acquire
Method
_acquire
Lib/test/_test_multiprocessing.py:1538–1541 ·
view source on GitHub ↗
(lock, l=None)
Source
from the content-addressed store, hash-verified
1536
1537
@staticmethod
1538
def
_acquire(lock, l=None):
1539
lock.acquire()
1540
if
l is not None:
1541
l.append(repr(lock))
1542
1543
@staticmethod
1544
def
_acquire_event(lock, event):
Callers
nothing calls this directly
Calls
2
acquire
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected