#NEWLINE# def uaop( operator , interceptable = True ) : #NEWLINE# #INDENT# def visitor( self , node , frame ) : #NEWLINE# #INDENT# if ( self . environment . sandboxed and ( operator in self . environment . intercepted_unops ) ) : #NEWLINE# #INDENT# self . write ( ( 'environment.call_unop(context, %r, ' % operator ) ) #NEWLINE# self . visit ( node . node , frame ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . write ( ( '(' + operator ) ) #NEWLINE# self . visit ( node . node , frame ) #NEWLINE# #UNINDENT# self . write ( ')' ) #NEWLINE# #UNINDENT# return operator