Searched refs:TypeVar (Results 1 – 20 of 20) sorted by relevance
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _typing.py | 17 TypeVar, Union) 22 RequestType = TypeVar('RequestType') 23 ResponseType = TypeVar('ResponseType')
|
/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _typing.py | 17 TypeVar, Union) 22 RequestType = TypeVar('RequestType') 23 ResponseType = TypeVar('ResponseType')
|
/third_party/python/Lib/test/ |
D | test_typing.py | 10 from typing import TypeVar, AnyStr 155 T = TypeVar('T') 159 self.assertIsInstance(T, TypeVar) 162 T = TypeVar('T') 167 T = TypeVar('T') 175 X = TypeVar('X', int) 179 X = TypeVar('X') 180 Y = TypeVar('Y') 192 X = TypeVar('X') 202 A = TypeVar('A', str, bytes) [all …]
|
D | mod_generics_cache.py | 5 from typing import TypeVar, Generic, Optional 36 T = TypeVar('T')
|
D | test_genericalias.py | 44 from typing import TypeVar 45 T = TypeVar('T') 46 K = TypeVar('K') 47 V = TypeVar('V')
|
D | test_types.py | 18 T = typing.TypeVar("T") 732 TV = typing.TypeVar('T') 762 typing.Hashable, typing.TypeVar('T')) 769 T = typing.TypeVar("T") 770 S = typing.TypeVar("S") 785 T = typing.TypeVar('T') 786 S = typing.TypeVar('S') 827 T = typing.TypeVar("T") 833 T = typing.TypeVar('T') 924 TypeVar = BadMeta('TypeVar', (), {}) [all …]
|
D | test_dataclasses.py | 14 from typing import ClassVar, Any, List, Union, Tuple, Dict, Generic, TypeVar, Optional, Protocol 1872 T = TypeVar('T') 1887 S = TypeVar('S') 1888 T = TypeVar('T') 1910 T = TypeVar('T')
|
D | test_pydoc.py | 1055 T = typing.TypeVar('T')
|
D | test_inspect.py | 3115 from typing import Generic, TypeVar 3117 T = TypeVar('T')
|
/third_party/python/Lib/importlib/metadata/ |
D | _meta.py | 1 from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union 4 _T = TypeVar("_T")
|
/third_party/python/Lib/ |
D | typing.py | 172 if isinstance(arg, (type, TypeVar, ForwardRef, types.UnionType, ParamSpec)): 212 typevar_types = TypeVar 750 class TypeVar( _Final, _Immutable, _TypeVarLike, _root=True): class 1003 _typevar_types=TypeVar, 1174 _typevar_types=(TypeVar, ParamSpec), 1274 _typevar_types=(TypeVar, ParamSpec), 1311 if not all(isinstance(p, (TypeVar, ParamSpec)) for p in params): 1325 _typevar_types=(TypeVar, ParamSpec), 1338 tvars = _collect_type_vars(cls.__orig_bases__, (TypeVar, ParamSpec)) 2053 T = TypeVar('T') # Any type. [all …]
|
/third_party/python/Tools/peg_generator/pegen/ |
D | parser.py | 9 from typing import Any, Callable, cast, Dict, Optional, Tuple, Type, TypeVar 15 T = TypeVar("T") 16 P = TypeVar("P", bound="Parser") 17 F = TypeVar("F", bound=Callable[..., Any])
|
/third_party/python/Doc/library/ |
D | typing.rst | 22 :class:`TypeVar`, and :class:`Generic`. For a full specification, please see 247 called :class:`TypeVar`. 252 from typing import TypeVar 254 T = TypeVar('T') # Declare type variable 268 from typing import TypeVar, Generic 271 T = TypeVar('T') 306 from typing import TypeVar, Generic 309 T = TypeVar('T') 310 S = TypeVar('S', int, str) 318 from typing import TypeVar, Generic [all …]
|
D | stdtypes.rst | 4889 >>> from typing import TypeVar 4890 >>> Y = TypeVar('Y') 4968 >>> from typing import TypeVar 4970 >>> T = TypeVar('T')
|
/third_party/grpc/src/python/grpcio/grpc/ |
D | _simple_stubs.py | 22 Tuple, TypeVar, Union) 27 RequestType = TypeVar('RequestType') 28 ResponseType = TypeVar('ResponseType')
|
/third_party/markupsafe/ |
D | __init__.py | 239 _ListOrDict = t.TypeVar("_ListOrDict", list, dict)
|
/third_party/mbedtls/tests/scripts/ |
D | generate_psa_tests.py | 28 from typing import Callable, Dict, FrozenSet, Iterable, Iterator, List, Optional, TypeVar 37 T = TypeVar('T') #pylint: disable=invalid-name
|
/third_party/mesa3d/bin/pick/ |
D | ui.py | 34 WidgetType = typing.TypeVar('WidgetType', bound=urwid.Widget)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 367 :class:`typing.TypeVar`. Patch by Weipeng Hong.
|
D | 3.10.0b1.rst | 831 Fixed the return value of ``TypeVar.__ror__``. Patch by Jelle Zijlstra.
|