(self, other)
| 834 | # Comparisons of timedelta objects with other. |
| 835 | |
| 836 | def __eq__(self, other): |
| 837 | if isinstance(other, timedelta): |
| 838 | return self._cmp(other) == 0 |
| 839 | else: |
| 840 | return NotImplemented |
| 841 | |
| 842 | def __le__(self, other): |
| 843 | if isinstance(other, timedelta): |