Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __exit__
Method
__exit__
Lib/contextlib.py:363–364 ·
view source on GitHub ↗
(self, *exc_info)
Source
from the content-addressed store, hash-verified
361
def
__enter__(self):
362
return
self.thing
363
def
__exit__(self, *exc_info):
364
self.thing.close()
365
366
367
class
aclosing(AbstractAsyncContextManager):
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected