Home
last modified time | relevance | path

Searched refs:__aexit__ (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py30 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 …]
Dtest_coroutines.py1172 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 …]
Dtest_sys_settrace.py33 async def __aexit__(self, *exc_info): member in asynctracecontext
Dtest_grammar.py1502 async def __aexit__(self, *exc): member in GrammarTests.test_async_with.manager
/external/python/cpython3/Lib/
Dcontextlib.py43 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/
Dlocks.py97 async def __aexit__(self, exc_type, exc, tb): member in _ContextManagerMixin
Devents.py205 async def __aexit__(self, *exc): member in AbstractServer
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b4.rst60 ``__aexit__()`` return non-awaitable object.
D3.6.6rc1.rst75 ``__aexit__()`` return non-awaitable object.
/external/python/cpython3/Doc/library/
Dcontextlib.rst35 :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
Ddis.rst585 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/
Dcompound_stmts.rst817 aexit = type(mgr).__aexit__
829 See also :meth:`__aenter__` and :meth:`__aexit__` for details.
Ddatamodel.rst2682 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/
Dglossary.rst90 :meth:`__aexit__` methods. Introduced by :pep:`492`.
/external/python/cpython3/Python/
Dceval.c2858 _Py_IDENTIFIER(__aexit__); in _PyEval_EvalFrameDefault()