Home
last modified time | relevance | path

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

/external/python/cpython3/Tools/pybench/
DWith.py9 class ContextManager(object): class in WithFinally
17 cm = self.ContextManager()
43 cm = self.ContextManager()
55 class ContextManager(object): class in TryFinally
65 cm = self.ContextManager()
150 cm = self.ContextManager()
/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.py316 class ContextManager: class
322 with ContextManager():
Dtest_typing.py2137 self.assertIsInstance(cm, typing.ContextManager)
2138 self.assertNotIsInstance(42, typing.ContextManager)
/external/python/cpython3/Lib/
Dtyping.py1923 class ContextManager(Generic[T_co], extra=contextlib.AbstractContextManager): class
/external/python/cpython3/Doc/library/
Dtyping.rst645 .. class:: ContextManager(Generic[T_co])
/external/python/cpython3/Doc/whatsnew/
D3.6.rst966 :class:`typing.ContextManager`.
1558 The :class:`typing.ContextManager` class has been added for
/external/python/cpython3/Misc/
DNEWS2004 ContextManager, Type[], NewType(), TYPE_CHECKING, and numerous bug
2643 typing.ContextManager.
4359 ContextManager, Type[], NewType(), TYPE_CHECKING, and numerous bug