| 75 | |
| 76 | |
| 77 | class NegativeInfinity: |
| 78 | def __repr__(self): |
| 79 | return "-Infinity" |
| 80 | |
| 81 | def __hash__(self): |
| 82 | return hash(repr(self)) |
| 83 | |
| 84 | def __lt__(self, other): |
| 85 | return True |
| 86 | |
| 87 | def __le__(self, other): |
| 88 | return True |
| 89 | |
| 90 | def __eq__(self, other): |
| 91 | return isinstance(other, self.__class__) |
| 92 | |
| 93 | def __ne__(self, other): |
| 94 | return not isinstance(other, self.__class__) |
| 95 | |
| 96 | def __gt__(self, other): |
| 97 | return False |
| 98 | |
| 99 | def __ge__(self, other): |
| 100 | return False |
| 101 | |
| 102 | def __neg__(self): |
| 103 | return Infinity |
| 104 | |
| 105 | |
| 106 | # BEGIN packaging/version.py |