#NEWLINE# def __delitem__( self , name ) : #NEWLINE# #INDENT# 'Deletes an item with the given name if it exists' #NEWLINE# index = self . _index_by_name ( name ) #NEWLINE# if ( index > ( - 1 ) ) : #NEWLINE# #INDENT# del self . _cache [ name ]