MCPcopy 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

acquireMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected