Home
last modified time | relevance | path

Searched refs:T_co (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Doc/library/
Dtyping.rst1106 .. class:: FrozenSet(frozenset, AbstractSet[T_co])
1218 .. class:: AbstractSet(Sized, Collection[T_co])
1240 .. class:: Collection(Sized, Iterable[T_co], Container[T_co])
1250 .. class:: Container(Generic[T_co])
1286 .. class:: MappingView(Sized, Iterable[T_co])
1318 .. class:: Sequence(Reversible[T_co], Collection[T_co])
1337 .. class:: Iterable(Generic[T_co])
1345 .. class:: Iterator(Iterable[T_co])
1353 .. class:: Generator(Iterator[T_co], Generic[T_co, T_contra, V_co])
1392 .. class:: Reversible(Iterable[T_co])
[all …]
/external/python/cpython3/Lib/
Dtyping.py1624 T_co = TypeVar('T_co', covariant=True) # Any type covariant containers. variable
1774 class SupportsAbs(Protocol[T_co]):
1779 def __abs__(self) -> T_co:
1784 class SupportsRound(Protocol[T_co]):
1789 def __round__(self, ndigits: int = 0) -> T_co:
/external/python/cpython3/Lib/test/
Dtest_typing.py195 T_co = TypeVar('T_co', covariant=True)
196 self.assertEqual(repr(T_co), '+T_co')