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

Method __init__

Lib/test/test_threading.py:2338–2339  ·  view source on GitHub ↗
(self, a, *, b)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected