MCPcopy Index your code
hub / github.com/python/cpython / aclose

Method aclose

Lib/contextlib.py:692–694  ·  view source on GitHub ↗

Immediately unwind the context stack.

(self)

Source from the content-addressed store, hash-verified

690 return callback # Allow use as a decorator
691
692 async def aclose(self):
693 """Immediately unwind the context stack."""
694 await self.__aexit__(None, None, None)
695
696 async def __aenter__(self):
697 return self

Callers 2

__aexit__Method · 0.45
__aexit__Method · 0.45

Calls 1

__aexit__Method · 0.95

Tested by

no test coverage detected