Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _acquire
Method
_acquire
Lib/test/_test_multiprocessing.py:1386–1389 ·
view source on GitHub ↗
(lock, l=None)
Source
from the content-addressed store, hash-verified
1384
1385
@staticmethod
1386
def
_acquire(lock, l=None):
1387
lock.acquire()
1388
if
l is not None:
1389
l.append(repr(lock))
1390
1391
@staticmethod
1392
def
_acquire_event(lock, event):
Callers
nothing calls this directly
Calls
3
repr
Function · 0.85
acquire
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected