Compare to anything

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2020-08-19 08:41:24 +02:00
parent b69fd0980b
commit 774c8eed67
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF

View File

@ -93,6 +93,8 @@ class Rdate:
return Rdate(res.__str__())
def __eq__(self, other):
if not isinstance(other, Rdate):
return False
return self.intdate == other.intdate
def __ge__(self, other):