#NEWLINE# @ tornado . gen . coroutine #NEWLINE# def execcode_unaryop( self , nod ) : #NEWLINE# #INDENT# optyp = type ( nod . op ) #NEWLINE# argval = ( yield self . execcode_expr ( nod . operand ) ) #NEWLINE# opfunc = self . map_unaryop_operators . get ( optyp , None ) #NEWLINE# if ( not opfunc ) : #NEWLINE# #INDENT# raise NotImplementedError ( ( 'Script unaryop type not implemented: %s' % ( optyp . __name__ , ) ) ) #NEWLINE# #UNINDENT# return opfunc ( argval )