Searched refs:T_co (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/ |
D | typing.py | 1177 T_co = TypeVar('T_co', covariant=True) # Any type covariant containers. variable 1194 Awaitable = _alias(collections.abc.Awaitable, T_co) 1195 Coroutine = _alias(collections.abc.Coroutine, (T_co, T_contra, V_co)) 1196 AsyncIterable = _alias(collections.abc.AsyncIterable, T_co) 1197 AsyncIterator = _alias(collections.abc.AsyncIterator, T_co) 1198 Iterable = _alias(collections.abc.Iterable, T_co) 1199 Iterator = _alias(collections.abc.Iterator, T_co) 1200 Reversible = _alias(collections.abc.Reversible, T_co) 1202 Container = _alias(collections.abc.Container, T_co) 1203 Collection = _alias(collections.abc.Collection, T_co) [all …]
|
/external/python/cpython3/Doc/library/ |
D | typing.rst | 504 .. class:: Iterable(Generic[T_co]) 508 .. class:: Iterator(Iterable[T_co]) 512 .. class:: Reversible(Iterable[T_co]) 542 .. class:: Container(Generic[T_co]) 554 .. class:: Collection(Sized, Iterable[T_co], Container[T_co]) 560 .. class:: AbstractSet(Sized, Collection[T_co]) 580 .. class:: Sequence(Reversible[T_co], Collection[T_co]) 627 .. class:: FrozenSet(frozenset, AbstractSet[T_co]) 631 .. class:: MappingView(Sized, Iterable[T_co]) 647 .. class:: Awaitable(Generic[T_co]) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_typing.py | 192 T_co = TypeVar('T_co', covariant=True) 193 self.assertEqual(repr(T_co), '+T_co')
|