(self, other)
| 807 | return timedelta(0, 0, usec // other) |
| 808 | |
| 809 | def __truediv__(self, other): |
| 810 | if not isinstance(other, (int, float, timedelta)): |
| 811 | return NotImplemented |
| 812 | usec = self._to_microseconds() |
| 813 | if isinstance(other, timedelta): |
| 814 | return usec / other._to_microseconds() |
| 815 | if isinstance(other, int): |
| 816 | return timedelta(0, 0, _divide_and_round(usec, other)) |
| 817 | if isinstance(other, float): |
| 818 | a, b = other.as_integer_ratio() |
| 819 | return timedelta(0, 0, _divide_and_round(b * usec, a)) |
| 820 | |
| 821 | def __mod__(self, other): |
| 822 | if isinstance(other, timedelta): |
nothing calls this directly
no test coverage detected