def __cmp__(a, b):
        diff = Rat(a - b)
        if diff.__num < 0:
            return -1
        elif diff.__num > 0:
            return 1
        else:
            return 0
dataset/ETHPy150Open robmoggach/python-moshion/moshion/extractframes/Rat.py/Rat.__cmp__/original