degree::
sage: a = SymbolSequence('a')
- sage: p = sum([ a[i]*x^i for i in range(0,5)])
+ sage: p = sum( a[i]*x^i for i in range(5) )
sage: p
a_4*x^4 + a_3*x^3 + a_2*x^2 + a_1*x + a_0
# corresponding to the second coordinate, with the first
# coordinate(s) fixed.
if isinstance(key, slice):
- ss = [ SymbolSequence(w._repr_(), w._latex_(), self._domain)
- for w in v ]
+ ss = ( SymbolSequence(w._repr_(), w._latex_(), self._domain)
+ for w in v )
# This might be nested...
maybe_nested_list = [ s._subscript_tuple_(args) for s in ss ]