#NEWLINE# def discard( self , key ) : #NEWLINE# #INDENT# if ( key in self . map ) : #NEWLINE# #INDENT# ( key , prev , next ) = self . map . pop ( key ) #NEWLINE# prev [ 2 ] = next #NEWLINE# next [ 1 ] = prev