(self, other: datetime.timedelta)
| 162 | return self.subtract(seconds=delta.seconds, microseconds=delta.microseconds) |
| 163 | |
| 164 | def __add__(self, other: datetime.timedelta) -> Time: |
| 165 | if not isinstance(other, timedelta): |
| 166 | return NotImplemented |
| 167 | |
| 168 | return self.add_timedelta(other) |
| 169 | |
| 170 | @overload |
| 171 | def __sub__(self, other: time) -> pendulum.Duration: ... |