#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# ret = 'state:' #NEWLINE# for r in self . range_pairs : #NEWLINE# #INDENT# ret += ( str ( r ) + ' ' ) #NEWLINE# #UNINDENT# if self . isany : #NEWLINE# #INDENT# ret += 'any ' #NEWLINE# #UNINDENT# ret = ret [ : ( - 1 ) ] #NEWLINE# ret += ', cond:' #NEWLINE# if isinstance ( self . transcond , DFNode ) : #NEWLINE# #INDENT# ret += self . transcond . tocode ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ret += str ( self . transcond ) #NEWLINE# #UNINDENT# return ret