Home
last modified time | relevance | path

Searched refs:ContextManager (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/test/
Dtest_raise.py381 class ContextManager: class
387 with ContextManager():
Dtest_typing.py1599 class CustomContextManager(typing.ContextManager, Protocol):
3846 self.assertIsInstance(cm, typing.ContextManager)
3847 self.assertNotIsInstance(42, typing.ContextManager)
4842 typing.ContextManager: 'ContextManager',
4881 typing.ContextManager[Any]: 'ContextManager',
/third_party/python/Lib/importlib/
Dresources.py13 from typing import ContextManager, Iterable, Union
/third_party/python/Misc/NEWS.d/
D3.6.0a2.rst268 @overload outside stubs, Reversible, DefaultDict, Text, ContextManager,
D3.6.2rc1.rst273 ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan
D3.5.4rc1.rst391 ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan
D3.5.2rc1.rst423 @overload outside stubs, Reversible, DefaultDict, Text, ContextManager,
D3.6.0a1.rst1303 Introduce contextlib.AbstractContextManager and typing.ContextManager.
D3.7.0a1.rst2450 ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan
/third_party/python/Lib/
Dtyping.py2120 ContextManager = _alias(contextlib.AbstractContextManager, 1, name='ContextManager') variable
/third_party/python/Doc/whatsnew/
D3.6.rst966 :class:`typing.ContextManager`.
1610 The :class:`typing.ContextManager` class has been added for
/third_party/python/Doc/library/
Dtyping.rst1864 .. class:: ContextManager(Generic[T_co])