in pachi_py/extra_unused.pyx [0:0]
def __richcmp__(Transition self, Transition other, int op):
if op != 2 and op != 3: return NotImplemented
cdef bint eq = self.color == other.color and self.state == other.state and self.move == other.move and self.next_state == other.next_state
return eq if op == 2 else not eq