#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# if self . negated : #NEWLINE# #INDENT# return ( '(NOT (%s: %s))' % ( c . connector , ', ' . join ( [ str ( c ) for c in self . children ] ) ) ) #NEWLINE# #UNINDENT# return ( '(%s: %s)' % ( self . connector , ', ' . join ( [ str ( c ) for c in self . children ] ) ) )