#NEWLINE# def declare_write( self , name ) : #NEWLINE# #INDENT# if ( name not in self . cells ) : #NEWLINE# #INDENT# if self . parent_symtable . is_defined ( name ) : #NEWLINE# #INDENT# self . cells [ name ] = self . FREEVAR #NEWLINE# self . parent_symtable . upgrade_to_closure ( self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . declare_local ( name )