#NEWLINE# def _clear_special_values( d ) : #NEWLINE# #INDENT# 'Remove REMOVE_THIS_KEY values from dictionary\n\t' #NEWLINE# l = [ d ] #NEWLINE# while l : #NEWLINE# #INDENT# i = l . pop ( ) #NEWLINE# pops = [ ] #NEWLINE# for ( k , v ) in i . items ( ) : #NEWLINE# #INDENT# if ( v is REMOVE_THIS_KEY ) : #NEWLINE# #INDENT# pops . append ( v ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( v , dict ) : #NEWLINE# #INDENT# l . append ( v ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# for k in pops : #NEWLINE# #INDENT# i . pop ( k )