(self, value: int = 1)
| 381 | """ |
| 382 | |
| 383 | def __init__(self, value: int = 1) -> None: |
| 384 | super().__init__() |
| 385 | if value < 0: |
| 386 | raise ValueError("semaphore initial value must be >= 0") |
| 387 | |
| 388 | self._value = value |
| 389 | |
| 390 | def __repr__(self) -> str: |
| 391 | res = super().__repr__() |