def from_PolynomialRing(K1, a, K0):
        try:
            return K1.new(a)
        except (CoercionFailed, GeneratorsError):
            return None
Convert a polynomial to ``dtype``.
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/fractionfield.py/FractionField.from_PolynomialRing