/external/python/cpython3/Lib/test/ |
D | test_contextlib_async.py | 34 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 …]
|
D | test_coroutines.py | 1167 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 …]
|
D | test_sys_settrace.py | 30 async def __aenter__(self): member in asynctracecontext
|
D | test_grammar.py | 1500 async def __aenter__(self): member in GrammarTests.test_async_with.manager
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 38 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/ |
D | locks.py | 91 async def __aenter__(self): member in _ContextManagerMixin
|
D | events.py | 202 async def __aenter__(self): member in AbstractServer
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 59 Improved error messages in 'async with' when ``__aenter__()`` or
|
D | 3.6.6rc1.rst | 74 Improved error messages in 'async with' when ``__aenter__()`` or
|
/external/python/cpython3/Doc/library/ |
D | contextlib.rst | 35 :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
|
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 | 818 aenter = type(mgr).__aenter__(mgr) 829 See also :meth:`__aenter__` and :meth:`__aexit__` for details.
|
D | datamodel.rst | 2682 suspend execution in its ``__aenter__`` and ``__aexit__`` methods. 2686 .. method:: object.__aenter__(self) 2699 async def __aenter__(self):
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 89 :keyword:`async with` statement by defining :meth:`__aenter__` and
|
/external/python/cpython3/Python/ |
D | ceval.c | 2859 _Py_IDENTIFIER(__aenter__); in _PyEval_EvalFrameDefault()
|