Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __aexit__
Method
__aexit__
Lib/contextlib.py:389–390 ·
view source on GitHub ↗
(self, *exc_info)
Source
from the content-addressed store, hash-verified
387
async
def
__aenter__(self):
388
return
self.thing
389
async
def
__aexit__(self, *exc_info):
390
await self.thing.aclose()
391
392
393
class
_RedirectStream(AbstractContextManager):
Callers
nothing calls this directly
Calls
1
aclose
Method · 0.45
Tested by
no test coverage detected