'Return base and exp of self.
If base is 1/Integer, then return Integer, -exp. If this extra
processing is not needed, the base and exp properties will
give the raw arguments
Examples
>>> from sympy import Pow, S
>>> p = Pow(S.Half, 2, evaluate=False)
>>> p.as_base_exp()
(2, -2)
>>> p.args
(1/2, 2)'

def as_base_exp(self):

    (b, e) = self.args
    if (b.is_Rational and (b.p == 1) and (b.q != 1)):
        return (Integer(b.q), (- e))
    return (b, e)
