parameters: (self, key)
docstring: Remove an item from the cache dict.
          Raise a `KeyError` if it does not exist.
docstring_summary: Remove an item from the cache dict.
          Raise a `KeyError` if it does not exist.
docstring_tokens: Remove an item from the cache dict . Raise a KeyError if it does not exist .
function: def __delitem__(self, key):
          """Remove an item from the cache dict.
          Raise a `KeyError` if it does not exist.
          """
          self._wlock.acquire()
          try:
              del self._mapping[key]
              try:
                  self._remove(key)
              except ValueError:
                  # __getitem__ is not locked, it might happen
                  pass
          finally:
              self._wlock.release()
function_tokens: def __delitem__ ( self , key ) : self . _wlock . acquire ( ) try : del self . _mapping [ key ] try : self . _remove ( key ) except ValueError : # __getitem__ is not locked, it might happen pass finally : self . _wlock . release ( )