def __delitem__(self, key):
        """Remove ``d[key]`` from dictionary.
        Raises a :func:`KeyError` if *key* is not in the map.
        """
        pickled_key = self._pickle_key(key)
        deleted_count = self.redis.hdel(self.key, pickled_key)
        if not deleted_count:
            raise KeyError(key)

        self.cache.pop(key, None)
def __delitem__ ( self , key ) : pickled_key = self . _pickle_key ( key ) deleted_count = self . redis . hdel ( self . key , pickled_key ) if not deleted_count : raise KeyError ( key ) self . cache . pop ( key , None )
Remove ``d[key]`` from dictionary.
        Raises a :func:`KeyError` if *key* is not in the map.