#NEWLINE# def __insertion( self , link_prev , key_value ) : #NEWLINE# #INDENT# ( key , value ) = key_value #NEWLINE# if ( key_value [ 2 ] != key ) : #NEWLINE# #INDENT# if ( key in self ) : #NEWLINE# #INDENT# del self [ key ] #NEWLINE# #UNINDENT# link_next = link_prev [ 1 ] #NEWLINE# self . _OrderedDict__map [ key ] = link_prev [ 1 ] = link_next [ 0 ] = [ link_prev , link_next , key ] #NEWLINE# #UNINDENT# dict . __setitem__ ( self , key , value )