(self, seconds: int)
| 45 | Windows (thread-based fallback).""" |
| 46 | |
| 47 | def __init__(self, seconds: int): |
| 48 | self.seconds = seconds |
| 49 | self._use_signal = hasattr(signal, "SIGALRM") |
| 50 | |
| 51 | # --- signal-based (Unix) ------------------------------------------- |
| 52 | def _handler(self, signum, frame): |
nothing calls this directly
no outgoing calls
no test coverage detected