Lines Matching refs:other
56 '__lt__': [('__gt__', lambda self, other: not (self < other or self == other)),
57 ('__le__', lambda self, other: self < other or self == other),
58 ('__ge__', lambda self, other: not self < other)],
59 '__le__': [('__ge__', lambda self, other: not self <= other or self == other),
60 ('__lt__', lambda self, other: self <= other and not self == other),
61 ('__gt__', lambda self, other: not self <= other)],
62 '__gt__': [('__lt__', lambda self, other: not (self > other or self == other)),
63 ('__ge__', lambda self, other: self > other or self == other),
64 ('__le__', lambda self, other: not self > other)],
65 '__ge__': [('__le__', lambda self, other: (not self >= other) or self == other),
66 ('__gt__', lambda self, other: self >= other and not self == other),
67 ('__lt__', lambda self, other: not self >= other)]
86 def __lt__(self, other):
87 return mycmp(self.obj, other.obj) < 0
88 def __gt__(self, other):
89 return mycmp(self.obj, other.obj) > 0
90 def __eq__(self, other):
91 return mycmp(self.obj, other.obj) == 0
92 def __le__(self, other):
93 return mycmp(self.obj, other.obj) <= 0
94 def __ge__(self, other):
95 return mycmp(self.obj, other.obj) >= 0
96 def __ne__(self, other):
97 return mycmp(self.obj, other.obj) != 0