Closed jessejensen closed 7 years ago
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
eq and ne done.
Others done, needs testing.
lt/gt based on hits count?