Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py34 self.assertIs(await manager.__aenter__(), manager)
48 async def __aenter__(self): member in TestAbstractAsyncContextManager.test_structural_subclassing.ManagerFromScratch
62 __aenter__ = None variable in TestAbstractAsyncContextManager.test_structural_subclassing.NoneAenter
112 await ctx.__aenter__()
125 await ctx.__aenter__()
137 await ctx.__aenter__()
146 await ctx.__aenter__()
160 await ctx.__aenter__()
287 return self.run_coroutine(self.__aenter__())
346 async def __aenter__(self): member in TestAsyncExitStack.test_async_push.ExitCM
[all …]
Dtest_coroutines.py1167 async def __aenter__(self): member in CoroutineTest.test_with_1.Manager
1204 def __aenter__(self): member in CoroutineTest.test_with_2.CM
1247 async def __aenter__(self): member in CoroutineTest.test_with_5.CM
1262 def __aenter__(self): member in CoroutineTest.test_with_6.CM
1281 async def __aenter__(self): member in CoroutineTest.test_with_7.CM
1309 async def __aenter__(self): member in CoroutineTest.test_with_8.CM
1373 async def __aenter__(self): member in CoroutineTest.test_with_9.CM
1393 async def __aenter__(self): member in CoroutineTest.test_with_10.CM
1419 async def __aenter__(self): member in CoroutineTest.test_with_11.CM
1441 async def __aenter__(self): member in CoroutineTest.test_with_12.CM
[all …]
Dtest_sys_settrace.py30 async def __aenter__(self): member in asynctracecontext
Dtest_grammar.py1500 async def __aenter__(self): member in GrammarTests.test_async_with.manager
/external/python/cpython3/Lib/
Dcontextlib.py38 async def __aenter__(self): member in AbstractAsyncContextManager
168 async def __aenter__(self): member in _AsyncGeneratorContextManager
556 result = await _cm_type.__aenter__(cm)
602 async def __aenter__(self): member in AsyncExitStack
/external/python/cpython3/Lib/asyncio/
Dlocks.py91 async def __aenter__(self): member in _ContextManagerMixin
Devents.py202 async def __aenter__(self): member in AbstractServer
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b4.rst59 Improved error messages in 'async with' when ``__aenter__()`` or
D3.6.6rc1.rst74 Improved error messages in 'async with' when ``__aenter__()`` or
/external/python/cpython3/Doc/library/
Dcontextlib.rst35 :meth:`object.__aenter__` and :meth:`object.__aexit__`. A default
36 implementation for :meth:`object.__aenter__` is provided which returns
107 without needing to create a class or separate :meth:`__aenter__` and
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.rst818 aenter = type(mgr).__aenter__(mgr)
829 See also :meth:`__aenter__` and :meth:`__aexit__` for details.
Ddatamodel.rst2682 suspend execution in its ``__aenter__`` and ``__aexit__`` methods.
2686 .. method:: object.__aenter__(self)
2699 async def __aenter__(self):
/external/python/cpython3/Doc/
Dglossary.rst89 :keyword:`async with` statement by defining :meth:`__aenter__` and
/external/python/cpython3/Python/
Dceval.c2859 _Py_IDENTIFIER(__aenter__); in _PyEval_EvalFrameDefault()