Searched refs:GeneratorType (Results 1 – 11 of 11) sorted by relevance
23 from types import GeneratorType92 if not isinstance(generator, GeneratorType):
20 GeneratorType = type(_g()) variable178 self.__isgen = gen.__class__ is GeneratorType250 coro.__class__ is GeneratorType and coro.gi_code.co_flags & 0x100):
215 return isinstance(object, types.GeneratorType)224 isinstance(object, types.GeneratorType) and
1981 _G_base = types.GeneratorType
49 GeneratorType = type(_g()) variable
178 return isinstance(object, types.GeneratorType)
259 _COROUTINE_TYPES = (types.GeneratorType, CoroWrapper)
43 isinstance(i, (range, types.GeneratorType))):
128 .. data:: GeneratorType
93 .. data:: GeneratorType
29 assert coro.__class__ in {types.GeneratorType, types.CoroutineType}