Searched refs:AsyncContextManager (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_typing.py | 2772 from typing import AsyncContextManager 2829 async def g_with(am: AsyncContextManager[int]): 3576 self.assertIsInstance(ACM(), typing.AsyncContextManager) 3577 self.assertNotIsInstance(NotACM(), typing.AsyncContextManager) 3583 self.assertNotIsInstance(cm, typing.AsyncContextManager) 3584 self.assertEqual(typing.AsyncContextManager[int].__args__, (int,)) 3586 isinstance(42, typing.AsyncContextManager[int]) 3588 typing.AsyncContextManager[int, str]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b5.rst | 505 Add missing documentation for ``typing.AsyncContextManager``.
|
D | 3.6.6rc1.rst | 509 Add missing documentation for ``typing.AsyncContextManager``.
|
D | 3.6.2rc1.rst | 272 Updates to typing module: Add generic AsyncContextManager, add support for
|
D | 3.5.4rc1.rst | 390 Updates to typing module: Add generic AsyncContextManager, add support for
|
D | 3.7.0a1.rst | 2449 Updates to typing module: Add generic AsyncContextManager, add support for
|
D | 3.8.0a1.rst | 6459 Add missing documentation for ``typing.AsyncContextManager``.
|
/external/python/cpython3/Lib/ |
D | typing.py | 1689 AsyncContextManager = _alias(contextlib.AbstractAsyncContextManager, 1, name='AsyncContextManager') variable
|
/external/python/cpython3/Doc/library/ |
D | unittest.mock-examples.rst | 305 >>> class AsyncContextManager: 311 >>> mock_instance = MagicMock(AsyncContextManager()) # AsyncMock also works here
|
D | typing.rst | 1508 .. class:: AsyncContextManager(Generic[T_co])
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 2793 class AsyncContextManager:
|