#NEWLINE# def infer( op , node ) : #NEWLINE# #INDENT# if ( not isinstance ( node , DFEvalValue ) ) : #NEWLINE# #INDENT# raise verror . FormatError ( 'Can not infer the value from non DFEvalValue object' ) #NEWLINE# #UNINDENT# val = node . value #NEWLINE# funcname = ( 'op_' + opfunc ) #NEWLINE# opfunc = getattr ( this , funcname , op_None ) #NEWLINE# return opfunc ( val )