#NEWLINE# def __sub__( self , other ) : #NEWLINE# #INDENT# "Returns the term-wise subtraction of 'self' and 'other'.\n\n        ``other`` should be a sequence.\n\n        Examples\n        ========\n\n        >>> from sympy import S, oo, SeqFormula\n        >>> from sympy.abc import n\n        >>> SeqFormula(n**2) - (SeqFormula(n))\n        SeqFormula(n**2 - n, (n, 0, oo))\n        " #NEWLINE# if ( not isinstance ( other , SeqBase ) ) : #NEWLINE# #INDENT# raise TypeError ( ( 'cannot subtract sequence and %s' % type ( other ) ) ) #NEWLINE# #UNINDENT# return SeqAdd ( other , ( - other ) )