Results objects should have equality and inequality defined
Closed this issue · 2 comments
jessejensen commented
lt/gt based on hits count?
class MyClass:
def __lt__(self, other):
# return comparison
def __le__(self, other)
# return comparison
def __eq__(self, other)
# return comparison
def __ne__(self, other)
# return comparison
def __gt__(self, other)
# return comparison
def __ge__(self, other)
# return comparison
jessejensen commented
eq and ne done.
jessejensen commented
Others done, needs testing.