Home
last modified time | relevance | path

Searched refs:TypeVar (Results 1 - 25 of 27) sorted by relevance

12

/third_party/python/Lib/importlib/resources/
H A D_itertools.py9 TypeVar,
14 _T = TypeVar('_T')
15 _U = TypeVar('_U')
/third_party/python/Lib/test/
H A Dtest_typing.py17 from typing import TypeVar, TypeVarTuple, Unpack, AnyStr namespace
362 T = TypeVar('T')
365 # T is an instance of TypeVar
366 self.assertIsInstance(T, TypeVar)
374 T_bound = TypeVar('T_bound', bound=int)
379 T_constraints = TypeVar('T_constraints', int, str)
384 T_co = TypeVar('T_co', covariant=True)
389 T_contra = TypeVar('T_contra', contravariant=True)
395 T = TypeVar('T')
400 T = TypeVar('
[all...]
H A Dmod_generics_cache.py3 from typing import TypeVar, Generic, Optional namespace
8 T = TypeVar('T')
H A D_typed_dict_helper.py16 from typing import Annotated, Generic, Optional, Required, TypedDict, TypeVar namespace
24 T = TypeVar("T")
H A Dtest_types.py18 T = typing.TypeVar("T")
738 T = typing.TypeVar('T')
784 TV = typing.TypeVar('T')
814 typing.Hashable, typing.TypeVar('T'))
821 T = typing.TypeVar("T")
822 S = typing.TypeVar("S")
837 T = typing.TypeVar('T')
838 S = typing.TypeVar('S')
879 T = typing.TypeVar("T")
885 T = typing.TypeVar('
[all...]
H A Dtest_genericalias.py53 from typing import TypeVar namespace
54 T = TypeVar('T')
55 K = TypeVar('K')
56 V = TypeVar('V')
H A Dtest_dataclasses.py17 from typing import ClassVar, Any, List, Union, Tuple, Dict, Generic, TypeVar, Optional, Protocol namespace
1996 T = TypeVar('T')
2011 S = TypeVar('S')
2012 T = TypeVar('T')
2034 T = TypeVar('T')
H A Dtest_pydoc.py1085 T = typing.TypeVar('T')
/third_party/python/Lib/importlib/metadata/
H A D_meta.py1 from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union namespace
4 _T = TypeVar("_T")
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dtest_data_generation.py31 from typing import Callable, Dict, Iterable, Iterator, List, Type, TypeVar namespace
36 T = TypeVar('T') #pylint: disable=invalid-name
H A Dbignum_common.py8 from typing import Iterator, List, Tuple, TypeVar, Any namespace
17 T = TypeVar('T') #pylint: disable=invalid-name
/third_party/python/Tools/peg_generator/pegen/
H A Dparser.py8 from typing import Any, Callable, ClassVar, Dict, Optional, Tuple, Type, TypeVar, cast namespace
12 T = TypeVar("T")
13 P = TypeVar("P", bound="Parser")
14 F = TypeVar("F", bound=Callable[..., Any])
/third_party/jinja2/
H A Dasync_utils.py9 V = t.TypeVar("V")
H A Dsandbox.py20 F = t.TypeVar("F", bound=t.Callable[..., t.Any])
H A Dfilters.py41 F = t.TypeVar("F", bound=t.Callable[..., t.Any])
42 K = t.TypeVar("K")
43 V = t.TypeVar("V")
H A Druntime.py26 V = t.TypeVar("V")
27 F = t.TypeVar("F", bound=t.Callable[..., t.Any])
H A Dutils.py19 F = t.TypeVar("F", bound=t.Callable[..., t.Any])
H A Dparser.py15 _ImportInclude = t.TypeVar("_ImportInclude", nodes.Import, nodes.Include)
16 _MacroCall = t.TypeVar("_MacroCall", nodes.Macro, nodes.CallBlock)
H A Dnodes.py18 _NodeBound = t.TypeVar("_NodeBound", bound="Node")
H A Denvironment.py62 _env_bound = t.TypeVar("_env_bound", bound="Environment")
/third_party/python/Lib/
H A Dtyping.py13 TypeVar, ParamSpec, TypeVarTuple.
59 'TypeVar',
920 return isinstance(x, (TypeVar, ParamSpec)) or _is_unpacked_typevartuple(x)
933 This is used by TypeVar and ParamSpec, which both employ the notions of
967 class TypeVar(_Final, _Immutable, _BoundVarianceMixin, _PickleUsingNameMixin,
973 T = TypeVar('T') # Can be anything
974 A = TypeVar('A', str, bytes) # Must be str or bytes
1020 msg = "TypeVar(name, constraint, ...): constraints must be types."
1042 Just as a TypeVar (type variable) is a placeholder for a single type,
1178 T = TypeVar('
968 _root=True): global() class
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dspecifiers.py22 TypeVar,
30 UnparsedVersionVar = TypeVar("UnparsedVersionVar", bound=UnparsedVersion)
H A Dmetadata.py23 T = typing.TypeVar("T")
/third_party/markupsafe/
H A D__init__.py285 _ListOrDict = t.TypeVar("_ListOrDict", list, dict)
/third_party/mesa3d/bin/pick/
H A Dui.py34 WidgetType = typing.TypeVar('WidgetType', bound=urwid.Widget)

Completed in 35 milliseconds

12