def expand_power_exp(expr, deep=True):
 return sympify(expr).expand(deep=deep, complex=False, basic=False, log=False, mul=False, power_exp=True, power_base=False, multinomial=False)

def expand_power_exp ( expr , deep = True ) : return sympify ( expr ) . expand ( deep = deep , complex = False , basic = False , log = False , mul = False , power_exp = True , power_base = False , multinomial = False )
wrapper around expand that only uses the power_exp hint .