(self, other)
| 335 | # if you have a list of PokerHand objects, you can sort them just through |
| 336 | # the builtin functions. |
| 337 | def __eq__(self, other): |
| 338 | if isinstance(other, PokerHand): |
| 339 | return self.compare_with(other) == "Tie" |
| 340 | return NotImplemented |
| 341 | |
| 342 | def __lt__(self, other): |
| 343 | if isinstance(other, PokerHand): |
nothing calls this directly
no test coverage detected