(self, h: float = 0, m: float = 0, s: float = 0)
| 83 | return Hours(h, m, s) |
| 84 | |
| 85 | def __init__(self, h: float = 0, m: float = 0, s: float = 0): |
| 86 | if h < 0 or m < 0 or s < 0: |
| 87 | raise ValueError('invalid negative argument') |
| 88 | self.h, self.m, self.s = normalize(h * 3600 + m * 60 + s) |
| 89 | |
| 90 | def __repr__(self): |
| 91 | h, m, s = self |
nothing calls this directly
no test coverage detected