MCPcopy Index your code
hub / github.com/RustPython/RustPython / _exit_wrapper

Method _exit_wrapper

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

Source from the content-addressed store, hash-verified

648 @staticmethod
649 def _create_async_cb_wrapper(callback, /, *args, **kwds):
650 async def _exit_wrapper(exc_type, exc, tb):
651 await callback(*args, **kwds)
652 return _exit_wrapper
653
654 async def enter_async_context(self, cm):

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected