(self, other)
| 1507 | # Comparisons of time objects with other. |
| 1508 | |
| 1509 | def __eq__(self, other): |
| 1510 | if isinstance(other, time): |
| 1511 | return self._cmp(other, allow_mixed=True) == 0 |
| 1512 | else: |
| 1513 | return NotImplemented |
| 1514 | |
| 1515 | def __le__(self, other): |
| 1516 | if isinstance(other, time): |