Searched refs:ContextManager (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/importlib/resources/ |
H A D | _legacy.py | 7 from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any namespace 112 ) -> ContextManager[pathlib.Path]:
|
/third_party/python/Lib/test/ |
H A D | test_raise.py | 381 class ContextManager: class 387 with ContextManager():
|
H A D | test_typing.py | 3332 class CustomContextManager(typing.ContextManager, Protocol): 6098 self.assertIsInstance(cm, typing.ContextManager) 6099 self.assertNotIsInstance(42, typing.ContextManager) 7953 typing.ContextManager: 'ContextManager', 7992 typing.ContextManager[Any]: 'ContextManager', 8239 self.assertIn('ContextManager', a)
|
/third_party/python/Lib/ |
H A D | typing.py | 67 'ContextManager', 2726 ContextManager = _alias(contextlib.AbstractContextManager, 1, name='ContextManager') variable
|
Completed in 18 milliseconds