def from_QQ_gmpy(self, element, base):
        return self.dtype(int(element.numerator)) / int(element.denominator)
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/realfield.py/RealField.from_QQ_gmpy/original