(f, n)
Raise ``f`` to a non-negative power ``n``.
Raise ``f`` to a non-negative power ``n``.
Raise f to a non - negative power n .
def pow(f, n):
        """Raise ``f`` to a non-negative power ``n``. """
        if isinstance(n, int):
            return f.per(dmp_pow(f.rep, n, f.lev, f.dom))
        else:
            raise TypeError("``int`` expected, got %s" % type(n))
def pow ( f , n ) : if isinstance ( n , int ) : return f . per ( dmp_pow ( f . rep , n , f . lev , f . dom ) ) else : raise TypeError ( "``int`` expected, got %s" % type ( n ) )