Lines Matching defs:__aexit__
43 async def __aexit__(self, exc_type, exc_value, traceback):
51 "__aexit__")
174 async def __aexit__(self, typ, value, traceback):
551 If successful, also pushes its __aexit__ method as a callback and
555 _exit = _cm_type.__aexit__
561 """Registers a coroutine function with the standard __aexit__ method
564 Can suppress exceptions the same way __aexit__ method can.
565 Also accepts any object with an __aexit__ method (registering a call
570 exit_method = _cb_type.__aexit__
593 await self.__aexit__(None, None, None)
596 """Helper to correctly register coroutine function to __aexit__
605 async def __aexit__(self, *exc_details):