• Home
  • Raw
  • Download

Lines Matching refs:collections

23 import collections
24 import collections.abc
1063 if self.__origin__ == collections.abc.Callable and isinstance(arg, tuple):
1565 if (isinstance(annotations, collections.abc.Mapping) and
1922 if (tp.__origin__ is collections.abc.Callable
2071 Hashable = _alias(collections.abc.Hashable, 0) # Not generic.
2072 Awaitable = _alias(collections.abc.Awaitable, 1)
2073 Coroutine = _alias(collections.abc.Coroutine, 3)
2074 AsyncIterable = _alias(collections.abc.AsyncIterable, 1)
2075 AsyncIterator = _alias(collections.abc.AsyncIterator, 1)
2076 Iterable = _alias(collections.abc.Iterable, 1)
2077 Iterator = _alias(collections.abc.Iterator, 1)
2078 Reversible = _alias(collections.abc.Reversible, 1)
2079 Sized = _alias(collections.abc.Sized, 0) # Not generic.
2080 Container = _alias(collections.abc.Container, 1)
2081 Collection = _alias(collections.abc.Collection, 1)
2082 Callable = _CallableType(collections.abc.Callable, 2)
2093 AbstractSet = _alias(collections.abc.Set, 1, name='AbstractSet')
2094 MutableSet = _alias(collections.abc.MutableSet, 1)
2096 Mapping = _alias(collections.abc.Mapping, 2)
2097 MutableMapping = _alias(collections.abc.MutableMapping, 2)
2098 Sequence = _alias(collections.abc.Sequence, 1)
2099 MutableSequence = _alias(collections.abc.MutableSequence, 1)
2100 ByteString = _alias(collections.abc.ByteString, 0) # Not generic
2113 Deque = _alias(collections.deque, 1, name='Deque')
2116 MappingView = _alias(collections.abc.MappingView, 1)
2117 KeysView = _alias(collections.abc.KeysView, 1)
2118 ItemsView = _alias(collections.abc.ItemsView, 2)
2119 ValuesView = _alias(collections.abc.ValuesView, 1)
2123 DefaultDict = _alias(collections.defaultdict, 2, name='DefaultDict')
2124 OrderedDict = _alias(collections.OrderedDict, 2)
2125 Counter = _alias(collections.Counter, 1)
2126 ChainMap = _alias(collections.ChainMap, 2)
2127 Generator = _alias(collections.abc.Generator, 3)
2128 AsyncGenerator = _alias(collections.abc.AsyncGenerator, 2)
2229 nm_tpl = collections.namedtuple(name, fields,