@API.register<EOL><INDENT>@API.aiocache_enabled(fake_return=<NUM_LIT:0>)<EOL>@API.timeout<EOL>@API.plugins<EOL>async def delete(self, key, namespace=None, _conn=None):<DEDENT>
start = time.monotonic()<EOL>ns_key = self.build_key(key, namespace=namespace)<EOL>ret = await self._delete(ns_key, _conn=_conn)<EOL>logger.debug("<STR_LIT>", ns_key, ret, time.monotonic() - start)<EOL>return ret<EOL>
Deletes the given key.

:param key: Key to be deleted
:param namespace: str alternative namespace to use
:param timeout: int or float in seconds specifying maximum timeout
    for the operations to last
:returns: int number of deleted keys
:raises: :class:`asyncio.TimeoutError` if it lasts more than self.timeout