#NEWLINE# def lower_binop( self , expr , op , inplace = False ) : #NEWLINE# #INDENT# lhs = self . loadvar ( expr . lhs . name ) #NEWLINE# rhs = self . loadvar ( expr . rhs . name ) #NEWLINE# if ( op in PYTHON_OPMAP ) : #NEWLINE# #INDENT# fname = PYTHON_OPMAP [ op ] #NEWLINE# fn = getattr ( self . pyapi , fname ) #NEWLINE# res = fn ( lhs , rhs , inplace = inplace ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# res = self . pyapi . object_richcompare ( lhs , rhs , expr . fn ) #NEWLINE# #UNINDENT# self . check_error ( res ) #NEWLINE# return res