(self, a, *, b)
| 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) |