Home
last modified time | relevance | path

Searched refs:GeneratorType (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
Dgenerator_io.py23 from types import GeneratorType
92 if not isinstance(generator, GeneratorType):
/external/python/cpython3/Lib/
Dtypes.py20 GeneratorType = type(_g()) variable
178 self.__isgen = gen.__class__ is GeneratorType
250 coro.__class__ is GeneratorType and coro.gi_code.co_flags & 0x100):
Dinspect.py215 return isinstance(object, types.GeneratorType)
224 isinstance(object, types.GeneratorType) and
Dtyping.py1981 _G_base = types.GeneratorType
/external/python/cpython2/Lib/
Dtypes.py49 GeneratorType = type(_g()) variable
Dinspect.py178 return isinstance(object, types.GeneratorType)
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py259 _COROUTINE_TYPES = (types.GeneratorType, CoroWrapper)
/external/scapy/scapy/
Dbase_classes.py43 isinstance(i, (range, types.GeneratorType))):
/external/python/cpython2/Doc/library/
Dtypes.rst128 .. data:: GeneratorType
/external/python/cpython3/Doc/library/
Dtypes.rst93 .. data:: GeneratorType
/external/python/cpython3/Lib/test/
Dtest_coroutines.py29 assert coro.__class__ in {types.GeneratorType, types.CoroutineType}