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

Method _exit_wrapper

Lib/contextlib.py:643–644  ·  view source on GitHub ↗
(exc_type, exc, tb)

Source from the content-addressed store, hash-verified

641 @staticmethod
642 def _create_async_cb_wrapper(callback, /, *args, **kwds):
643 async def _exit_wrapper(exc_type, exc, tb):
644 await callback(*args, **kwds)
645 return _exit_wrapper
646
647 async def enter_async_context(self, cm):

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected