#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# if ( self . axis is not None ) : #NEWLINE# #INDENT# return ( 'Reduce{%s}{%s}' % ( x . scalar_op , ', ' . join ( ( str ( x ) for x in self . axis ) ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( 'Reduce{%s}' % self . scalar_op )