def __delitem__ ( self , key ) : self . _keys . remove ( key ) super ( ListDict , self ) . __delitem__ ( key )
python delete dictionary entry if exists
Remove key from dict .
def __delitem__ (self, key):
        """Remove key from dict."""
        self._keys.remove(key)
        super(ListDict, self).__delitem__(key)