(self, max_: int = 60, min_: int = 0)
| 279 | _star = r'\*' |
| 280 | |
| 281 | def __init__(self, max_: int = 60, min_: int = 0): |
| 282 | self.max_ = max_ |
| 283 | self.min_ = min_ |
| 284 | self.pats: tuple[tuple[re.Pattern, Callable], ...] = ( |
| 285 | (re.compile(self._range + self._steps), self._range_steps), |
| 286 | (re.compile(self._range), self._expand_range), |
| 287 | (re.compile(self._star + self._steps), self._star_steps), |
| 288 | (re.compile('^' + self._star + '$'), self._expand_star), |
| 289 | ) |
| 290 | |
| 291 | def parse(self, spec: str) -> set[int]: |
| 292 | acc = set() |
nothing calls this directly
no outgoing calls
no test coverage detected