Merge branch 'testing' into Development

pull/482/head
Holger Müller 2022-03-17 17:53:14 +01:00
commit d0dad2a746
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -54,13 +54,13 @@ class Version:
return False
def __lt__(self, other: "Version") -> bool:
return other > self
return other.__gt__(self)
def __ge__(self, other: "Version") -> bool:
return self > other or self == other
return self.__gt__(other) or self.__eq__(other)
def __le__(self, other: "Version") -> bool:
return self < other or self == other
return other.__gt__(self) or self.__eq__(other)
def __eq__(self, other: "Version") -> bool:
return self.data == other.data