Home
last modified time | relevance | path

Searched refs:AsyncExitStack (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py2 from contextlib import asynccontextmanager, AbstractAsyncContextManager, AsyncExitStack
283 class SyncAsyncExitStack(AsyncExitStack):
337 async with AsyncExitStack() as stack:
356 async with AsyncExitStack() as stack:
412 async with AsyncExitStack() as stack:
/external/python/cpython3/Lib/
Dcontextlib.py525 class AsyncExitStack(_BaseExitStack, AbstractAsyncContextManager): class
/external/python/cpython3/Doc/library/
Dcontextlib.rst456 .. class:: AsyncExitStack()
486 async with AsyncExitStack() as stack:
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b1.rst624 Add contextlib.AsyncExitStack. Patch by Alexander Mohr and Ilya Kulakov.
D3.8.0a1.rst5143 ``contextlib.ExitStack`` and ``contextlib.AsyncExitStack`` now use a method
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1732 :meth:`contextlib.AsyncExitStack.callback` and
1733 :meth:`contextlib.AsyncExitStack.push_async_callback`.
D3.7.rst834 :class:`~contextlib.AsyncExitStack` have been added to