Only use eq
This commit is contained in:
parent
774c8eed67
commit
4dc7f131f3
@ -109,9 +109,6 @@ class Rdate:
|
|||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
return self.intdate < other.intdate
|
return self.intdate < other.intdate
|
||||||
|
|
||||||
def __ne__(self, other):
|
|
||||||
return self.intdate != other.intdate
|
|
||||||
|
|
||||||
def __sub__(self, other):
|
def __sub__(self, other):
|
||||||
return (self.intdate - other.intdate).days
|
return (self.intdate - other.intdate).days
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user