#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# ret = self . value #NEWLINE# if ( ( self . text is not None ) and ( self . text != '' ) ) : #NEWLINE# #INDENT# ret += ( '\nText returned from switch: ' + str ( self . text ) ) #NEWLINE# #UNINDENT# return ret