(self, other)
| 2114 | _cmperror(self, other) |
| 2115 | |
| 2116 | def __lt__(self, other): |
| 2117 | if isinstance(other, datetime): |
| 2118 | return self._cmp(other) < 0 |
| 2119 | elif not isinstance(other, date): |
| 2120 | return NotImplemented |
| 2121 | else: |
| 2122 | _cmperror(self, other) |
| 2123 | |
| 2124 | def __ge__(self, other): |
| 2125 | if isinstance(other, datetime): |