#NEWLINE# def restore_setting( self , setting ) : #NEWLINE# #INDENT# if ( setting in self . _remembered_settings ) : #NEWLINE# #INDENT# value = self . _remembered_settings . pop ( setting ) #NEWLINE# setattr ( settings , setting , value ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if hasattr ( settings , setting ) : #NEWLINE# #INDENT# delattr ( settings . _wrapped , setting )