HomeSort by relevance Sort by last modified time
    Searched defs:__aexit__ (Results 1 - 7 of 7) sorted by null

  /external/python/cpython3/Lib/asyncio/
locks.py 97 async def __aexit__(self, exc_type, exc, tb): member in class:_ContextManagerMixin
events.py 205 async def __aexit__(self, *exc): member in class:AbstractServer
  /external/python/cpython3/Lib/
contextlib.py 43 async def __aexit__(self, exc_type, exc_value, traceback): member in class:AbstractAsyncContextManager
51 "__aexit__")
174 async def __aexit__(self, typ, value, traceback): member in class:_AsyncGeneratorContextManager
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
605 async def __aexit__(self, *exc_details): member in class:AsyncExitStack
    [all...]
  /external/python/cpython3/Lib/test/
test_contextlib_async.py 30 async def __aexit__(self, *args): member in class:TestAbstractAsyncContextManager.test_enter.DefaultEnter
31 await super().__aexit__(*args)
50 async def __aexit__(self, exc_type, exc_value, traceback): member in class:TestAbstractAsyncContextManager.test_structural_subclassing.ManagerFromScratch
56 async def __aexit__(self, *args): member in class:TestAbstractAsyncContextManager.test_structural_subclassing.DefaultEnter
57 await super().__aexit__(*args)
67 __aexit__ = None variable in class:TestAbstractAsyncContextManager.test_structural_subclassing.NoneAexit
113 # Calling __aexit__ should not result in an exception
114 self.assertFalse(await ctx.__aexit__(TypeError, TypeError("foo"), None))
127 await ctx.__aexit__(TypeError, TypeError('foo'), None)
148 await ctx.__aexit__(None, None, None
348 async def __aexit__(self, *exc_details): member in class:TestAsyncExitStack.test_async_push.ExitCM
373 async def __aexit__(self, *exc_details): member in class:TestAsyncExitStack.test_async_enter_context.TestCM
    [all...]
test_grammar.py 1502 async def __aexit__(self, *exc): member in class:GrammarTests.test_async_with.manager
    [all...]
test_sys_settrace.py 33 async def __aexit__(self, *exc_info): member in class:asynctracecontext
    [all...]
test_coroutines.py 1172 async def __aexit__(self, *args): member in class:CoroutineTest.test_with_1.Manager
1211 with self.assertRaisesRegex(AttributeError, '__aexit__'):
1216 def __aexit__(self): member in class:CoroutineTest.test_with_3.CM
1238 with self.assertRaisesRegex(AttributeError, '__aexit__'):
1250 async def __aexit__(self, *exc): member in class:CoroutineTest.test_with_5.CM
1265 def __aexit__(self, *e): member in class:CoroutineTest.test_with_6.CM
1276 # it's important that __aexit__ wasn't called
1284 def __aexit__(self, *e): member in class:CoroutineTest.test_with_7.CM
1312 def __aexit__(self, *e): member in class:CoroutineTest.test_with_8.CM
1376 async def __aexit__(self, *e): member in class:CoroutineTest.test_with_9.CM
1396 async def __aexit__(self, *e): member in class:CoroutineTest.test_with_10.CM
1422 async def __aexit__(self, *e): member in class:CoroutineTest.test_with_11.CM
1444 async def __aexit__(self, *e): member in class:CoroutineTest.test_with_12.CM
1462 async def __aexit__(self, *e): member in class:CoroutineTest.test_with_13.CM
1614 async def __aexit__(self, *args): member in class:CoroutineTest.test_for_6.Manager
2062 async def __aexit__(self, exc_type, exc_val, exc_tb): member in class:CoroAsyncIOCompatTest.test_asyncio_1.CM
    [all...]

Completed in 502 milliseconds