MCPcopy
hub / github.com/aio-libs/aiohttp / __aexit__

Method __aexit__

aiohttp/client_reqrep.py:770–774  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

768
769 @asyncio.coroutine
770 def __aexit__(self, exc_type, exc_val, exc_tb):
771 if exc_type is None:
772 yield from self.release()
773 else:
774 self.close()

Callers

nothing calls this directly

Calls 2

releaseMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected