(expr, func, order, hint)
return sol
r"""
    Converts a solution with Integrals in it into an actual solution.

    For most hints, this simply runs ``expr.doit()``.
r"""
    Converts a solution with Integrals in it into an actual solution.
r Converts a solution with Integrals in it into an actual solution .
def _handle_Integral(expr, func, order, hint):
    r"""
    Converts a solution with Integrals in it into an actual solution.

    For most hints, this simply runs ``expr.doit()``.

    """
    global y
    x = func.args[0]
    f = func.func
    if hint == "1st_exact":
        sol = (expr.doit()).subs(y, f(x))
        del y
    elif hint == "1st_exact_Integral":
        sol = expr.subs(y, f(x))
        del y
    elif hint == "nth_linear_constant_coeff_homogeneous":
        sol = expr
    elif not hint.endswith("_Integral"):
        sol = expr.doit()
    else:
        sol = expr
    return sol
def _handle_Integral ( expr , func , order , hint ) : global y x = func . args [ 0 ] f = func . func if hint == "1st_exact" : sol = ( expr . doit ( ) ) . subs ( y , f ( x ) ) del y elif hint == "1st_exact_Integral" : sol = expr . subs ( y , f ( x ) ) del y elif hint == "nth_linear_constant_coeff_homogeneous" : sol = expr elif not hint . endswith ( "_Integral" ) : sol = expr . doit ( ) else : sol = expr return sol