/external/python/cpython3/Lib/test/ |
D | test_contextlib_async.py | 30 async def __aexit__(self, *args): member in TestAbstractAsyncContextManager.test_enter.DefaultEnter 31 await super().__aexit__(*args) 50 async def __aexit__(self, exc_type, exc_value, traceback): member in TestAbstractAsyncContextManager.test_structural_subclassing.ManagerFromScratch 56 async def __aexit__(self, *args): member in TestAbstractAsyncContextManager.test_structural_subclassing.DefaultEnter 57 await super().__aexit__(*args) 67 __aexit__ = None variable in TestAbstractAsyncContextManager.test_structural_subclassing.NoneAexit 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) 162 await ctx.__aexit__(RuntimeError, None, None) [all …]
|
D | test_coroutines.py | 1172 async def __aexit__(self, *args): member in CoroutineTest.test_with_1.Manager 1216 def __aexit__(self): member in CoroutineTest.test_with_3.CM 1250 async def __aexit__(self, *exc): member in CoroutineTest.test_with_5.CM 1265 def __aexit__(self, *e): member in CoroutineTest.test_with_6.CM 1284 def __aexit__(self, *e): member in CoroutineTest.test_with_7.CM 1312 def __aexit__(self, *e): member in CoroutineTest.test_with_8.CM 1376 async def __aexit__(self, *e): member in CoroutineTest.test_with_9.CM 1396 async def __aexit__(self, *e): member in CoroutineTest.test_with_10.CM 1422 async def __aexit__(self, *e): member in CoroutineTest.test_with_11.CM 1444 async def __aexit__(self, *e): member in CoroutineTest.test_with_12.CM [all …]
|
D | test_sys_settrace.py | 33 async def __aexit__(self, *exc_info): member in asynctracecontext
|
D | test_grammar.py | 1502 async def __aexit__(self, *exc): member in GrammarTests.test_async_with.manager
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 43 async def __aexit__(self, exc_type, exc_value, traceback): member in AbstractAsyncContextManager 174 async def __aexit__(self, typ, value, traceback): member in _AsyncGeneratorContextManager 555 _exit = _cm_type.__aexit__ 570 exit_method = _cb_type.__aexit__ 593 await self.__aexit__(None, None, None) 605 async def __aexit__(self, *exc_details): member in AsyncExitStack
|
/external/python/cpython3/Lib/asyncio/ |
D | locks.py | 97 async def __aexit__(self, exc_type, exc, tb): member in _ContextManagerMixin
|
D | events.py | 205 async def __aexit__(self, *exc): member in AbstractServer
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 60 ``__aexit__()`` return non-awaitable object.
|
D | 3.6.6rc1.rst | 75 ``__aexit__()`` return non-awaitable object.
|
/external/python/cpython3/Doc/library/ |
D | contextlib.rst | 35 :meth:`object.__aenter__` and :meth:`object.__aexit__`. A default 37 ``self`` while :meth:`object.__aexit__` is an abstract method which by default 108 :meth:`__aexit__` methods. It must be applied to an :term:`asynchronous
|
D | dis.rst | 585 Resolves ``__aenter__`` and ``__aexit__`` from the object on top of the 586 stack. Pushes ``__aexit__`` and result of ``__aenter__()`` to the stack.
|
/external/python/cpython3/Doc/reference/ |
D | compound_stmts.rst | 817 aexit = type(mgr).__aexit__ 829 See also :meth:`__aenter__` and :meth:`__aexit__` for details.
|
D | datamodel.rst | 2682 suspend execution in its ``__aenter__`` and ``__aexit__`` methods. 2691 .. method:: object.__aexit__(self, exc_type, exc_value, traceback) 2702 async def __aexit__(self, exc_type, exc, tb):
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 90 :meth:`__aexit__` methods. Introduced by :pep:`492`.
|
/external/python/cpython3/Python/ |
D | ceval.c | 2858 _Py_IDENTIFIER(__aexit__); in _PyEval_EvalFrameDefault()
|