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

    Simplifies the integral mainly using 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.

    Simplifies the integral mainly using doit()
    """
    if hint.endswith("_Integral"):
        return expr

    elif hint == "1st_linear_constant_coeff":
        return simplify(expr.doit())

    else:
        return expr
def _handle_Integral ( expr , func , order , hint ) : if hint . endswith ( "_Integral" ) : return expr elif hint == "1st_linear_constant_coeff" : return simplify ( expr . doit ( ) ) else : return expr