(self, other)
| 1407 | # Comparisons of time objects with other. |
| 1408 | |
| 1409 | def __eq__(self, other): |
| 1410 | if isinstance(other, time): |
| 1411 | return self._cmp(other, allow_mixed=True) == 0 |
| 1412 | else: |
| 1413 | return NotImplemented |
| 1414 | |
| 1415 | def __le__(self, other): |
| 1416 | if isinstance(other, time): |