#NEWLINE# def _visit_call_helper_var( self , node ) : #NEWLINE# #INDENT# args = [ self . visit ( a ) for a in node . args ] #NEWLINE# if self . _function_stack : #NEWLINE# #INDENT# fnode = self . _function_stack [ ( - 1 ) ] #NEWLINE# rem = [ ] #NEWLINE# for arg in args : #NEWLINE# #INDENT# if ( arg in fnode . _local_vars ) : #NEWLINE# #INDENT# rem . append ( arg ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# fnode . _local_vars . add ( arg ) #NEWLINE# #UNINDENT# #UNINDENT# for arg in rem : #NEWLINE# #INDENT# args . remove ( arg ) #NEWLINE# #UNINDENT# #UNINDENT# if args : #NEWLINE# #INDENT# out = ', ' . join ( args ) #NEWLINE# return ( 'local %s' % out ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ''