(self, other)
| 1190 | return NotImplemented |
| 1191 | |
| 1192 | def __le__(self, other): |
| 1193 | if isinstance(other, date) and not isinstance(other, datetime): |
| 1194 | return self._cmp(other) <= 0 |
| 1195 | return NotImplemented |
| 1196 | |
| 1197 | def __lt__(self, other): |
| 1198 | if isinstance(other, date) and not isinstance(other, datetime): |