#NEWLINE# def on_compare( self , node ) : #NEWLINE# #INDENT# 'comparison operators' #NEWLINE# lval = self . run ( node . left ) #NEWLINE# out = True #NEWLINE# for ( oper , rnode ) in zip ( node . ops , node . comparators ) : #NEWLINE# #INDENT# comp = OPERATORS [ oper . __class__ ] #NEWLINE# rval = self . run ( rnode ) #NEWLINE# out = comp ( lval , rval ) #NEWLINE# lval = rval #NEWLINE# if ( ( not hasattr ( out , 'any' ) ) and ( not out ) ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# return out