#NEWLINE# def safe_discard( self , state ) : #NEWLINE# #INDENT# if ( state . key in self . _dict ) : #NEWLINE# #INDENT# obj = self . _dict [ state . key ] #NEWLINE# st = attributes . instance_state ( state ) #NEWLINE# if ( st is state ) : #NEWLINE# #INDENT# self . _dict . pop ( state . key , None ) #NEWLINE# self . _manage_removed_state ( state )