(self, other: timedelta)
| 251 | return self.subtract(days=delta.days) |
| 252 | |
| 253 | def __add__(self, other: timedelta) -> Self: |
| 254 | if not isinstance(other, timedelta): |
| 255 | return NotImplemented |
| 256 | |
| 257 | return self._add_timedelta(other) |
| 258 | |
| 259 | @overload # type: ignore[override] # this is only needed because of Python 3.7 |
| 260 | def __sub__(self, __delta: timedelta) -> Self: ... |
nothing calls this directly
no test coverage detected