Compare to anything

master
Salvo 'LtWorf' Tomaselli 2020-08-19 08:41:24 +07:00
parent b69fd0980b
commit 774c8eed67
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
1 changed files with 2 additions and 0 deletions

@ -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):