(self, other)
| 900 | # Comparisons of timedelta objects with other. |
| 901 | |
| 902 | def __eq__(self, other): |
| 903 | if isinstance(other, timedelta): |
| 904 | return self._cmp(other) == 0 |
| 905 | else: |
| 906 | return NotImplemented |
| 907 | |
| 908 | def __le__(self, other): |
| 909 | if isinstance(other, timedelta): |