Home
last modified time | relevance | path

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

/external/python/cpython2/Tools/pybench/
DWith.py10 class ContextManager(object): class in WithFinally
18 cm = self.ContextManager()
44 cm = self.ContextManager()
56 class ContextManager(object): class in TryFinally
66 cm = self.ContextManager()
151 cm = self.ContextManager()
/external/python/cpython3/Lib/test/
Dtest_raise.py381 class ContextManager: class
387 with ContextManager():
Dtest_typing.py2363 self.assertIsInstance(cm, typing.ContextManager)
2364 self.assertNotIsInstance(42, typing.ContextManager)
/external/python/cpython3/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.rst392 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.rst1304 Introduce contextlib.AbstractContextManager and typing.ContextManager.
D3.7.0a1.rst2455 ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan
/external/python/cpython3/Lib/
Dtyping.py1241 ContextManager = _alias(contextlib.AbstractContextManager, T_co) variable
/external/python/cpython3/Doc/library/
Dtyping.rst672 .. class:: ContextManager(Generic[T_co])
/external/python/cpython3/Doc/whatsnew/
D3.6.rst966 :class:`typing.ContextManager`.
1610 The :class:`typing.ContextManager` class has been added for