#NEWLINE# def insert( self , item ) : #NEWLINE# #INDENT# 'Insert a new item.  If equal keys are found, add to the left' #NEWLINE# k = self . _key ( item ) #NEWLINE# i = bisect_left ( self . _keys , k ) #NEWLINE# self . _keys . insert ( i , k ) #NEWLINE# self . _items . insert ( i , item )