def __rdivmod__(self, other):
        if isint(other):
            other = Rat(other)
        elif not isRat(other):
            return NotImplemented
        return divmod(other, self)
Divide two Rats, returning quotient and remainder (reversed args).
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_binop.py/Rat.__rdivmod__