Lines Matching defs:__aexit__
50 async def __aexit__(self, exc_type, exc_value, traceback):
58 "__aexit__")
208 async def __aexit__(self, typ, value, traceback):
373 async def __aexit__(self, *exc_info):
627 If successful, also pushes its __aexit__ method as a callback and
633 _exit = cls.__aexit__
643 """Registers a coroutine function with the standard __aexit__ method
646 Can suppress exceptions the same way __aexit__ method can.
647 Also accepts any object with an __aexit__ method (registering a call
652 exit_method = _cb_type.__aexit__
675 await self.__aexit__(None, None, None)
678 """Helper to correctly register coroutine function to __aexit__
686 async def __aexit__(self, *exc_details):
763 async def __aexit__(self, *excinfo):