(self, *args: Any, **kwargs: Any)
| 68 | |
| 69 | class SlowLock(SoftReadWriteLock): |
| 70 | def __init__(self, *args: Any, **kwargs: Any) -> None: # ruff:ignore[any-type] # forwards the public constructor unchanged |
| 71 | if type(self) is SlowLock: |
| 72 | entered.set() |
| 73 | assert release.wait(timeout=5) |
| 74 | super().__init__(*args, **kwargs) |
| 75 | |
| 76 | class SiblingLock(SoftReadWriteLock): |
| 77 | pass |