Searched refs:AbstractAsyncContextManager (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/test/ |
D | test_contextlib_async.py | 3 asynccontextmanager, AbstractAsyncContextManager, 31 class DefaultEnter(AbstractAsyncContextManager): 64 class MissingAexit(AbstractAsyncContextManager): 77 self.assertTrue(issubclass(ManagerFromScratch, AbstractAsyncContextManager)) 79 class DefaultEnter(AbstractAsyncContextManager): 83 self.assertTrue(issubclass(DefaultEnter, AbstractAsyncContextManager)) 88 self.assertFalse(issubclass(NoneAenter, AbstractAsyncContextManager)) 93 self.assertFalse(issubclass(NoneAexit, AbstractAsyncContextManager))
|
D | test_genericalias.py | 12 from contextlib import AbstractContextManager, AbstractAsyncContextManager 59 AbstractContextManager, AbstractAsyncContextManager,
|
/third_party/python/Lib/ |
D | contextlib.py | 37 class AbstractAsyncContextManager(abc.ABC): class 54 if cls is AbstractAsyncContextManager: 189 AbstractAsyncContextManager, 343 class aclosing(AbstractAsyncContextManager): 588 class AsyncExitStack(_BaseExitStack, AbstractAsyncContextManager): 721 class nullcontext(AbstractContextManager, AbstractAsyncContextManager):
|
D | typing.py | 2121 AsyncContextManager = _alias(contextlib.AbstractAsyncContextManager, 1, name='AsyncContextManager')
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 735 Add contextlib.AbstractAsyncContextManager. Patch by Jelle Zijlstra.
|
/third_party/python/Doc/library/ |
D | typing.rst | 1877 A generic version of :class:`contextlib.AbstractAsyncContextManager`. 1883 :class:`contextlib.AbstractAsyncContextManager` now supports ``[]``. See
|
D | contextlib.rst | 32 .. class:: AbstractAsyncContextManager
|
D | stdtypes.rst | 4935 * :class:`contextlib.AbstractAsyncContextManager`
|
/third_party/python/Doc/whatsnew/ |
D | 3.7.rst | 834 :class:`~contextlib.AbstractAsyncContextManager`, and
|