(self, other)
| 1123 | return NotImplemented |
| 1124 | |
| 1125 | def _cmp(self, other): |
| 1126 | assert isinstance(other, date) |
| 1127 | y, m, d = self._year, self._month, self._day |
| 1128 | y2, m2, d2 = other._year, other._month, other._day |
| 1129 | return _cmp((y, m, d), (y2, m2, d2)) |
| 1130 | |
| 1131 | def __hash__(self): |
| 1132 | "Hash." |