MCPcopy Index your code
hub / github.com/python/cpython / CustomRLock

Class CustomRLock

Lib/test/test_threading.py:2337–2339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2335
2336 # Subtypes with custom `__init__` are allowed (but, not recommended):
2337 class CustomRLock(self.locktype):
2338 def __init__(self, a, *, b) -> None:
2339 super().__init__()
2340
2341 with warnings.catch_warnings(record=True) as warnings_log:
2342 CustomRLock(1, b=2)

Callers 1

test_signatureMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_signatureMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…