

@staticmethod
def Pow(expr, assumptions):
    '\n        Rational ** Integer      -> Rational\n        Irrational ** Rational   -> Irrational\n        Rational ** Irrational   -> ?\n        '
    if ask(Q.integer(expr.exp), assumptions):
        return ask(Q.rational(expr.base), expr)
    elif ask(Q.rational(expr.exp), assumptions):
        if ask(Q.prime(expr.base), assumptions):
            return False

dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py AskRationalHandler.Pow/VarMisuse@46/100 `assumptions`->`expr`