@public
def refine_root(f, s, t, eps=None, steps=None, fast=False, check_sqf=False):
    """
    Refine an isolating interval of a root to the given precision.

    Examples
    ========

    >>> from sympy import refine_root
    >>> from sympy.abc import x

    >>> refine_root(x**2 - 3, 1, 2, eps=1e-2)
    (19/11, 26/15)

    """
    try:
        F = Poly(f)
    except GeneratorsNeeded:
        raise PolynomialError(
            f % "can't refine a root of %s, not a polynomial")

    return F.refine_root(s, t, eps=eps, steps=steps, fast=fast, check_sqf=check_sqf)
dataset/ETHPy150Open sympy/sympy/sympy/polys/polytools.py/refine_root/swapped operands of `%`