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.py28 from types import GeneratorType
99 if not isinstance(generator, GeneratorType):
/external/python/cpython3/Lib/
Dtypes.py20 GeneratorType = type(_g()) variable
204 self.__isgen = gen.__class__ is GeneratorType
279 coro.__class__ is GeneratorType and coro.gi_code.co_flags & 0x100):
Dinspect.py215 return isinstance(object, types.GeneratorType)
224 isinstance(object, types.GeneratorType) and
/external/python/cpython2/Lib/
Dtypes.py49 GeneratorType = type(_g()) variable
Dinspect.py178 return isinstance(object, types.GeneratorType)
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py168 _COROUTINE_TYPES = (types.CoroutineType, types.GeneratorType,
/external/scapy/scapy/
Dbase_classes.py43 isinstance(i, (range, types.GeneratorType))):
/external/libchrome/third_party/jinja2/
Dsandbox.py195 elif isinstance(obj, types.GeneratorType):
/external/python/cpython2/Doc/library/
Dtypes.rst128 .. data:: GeneratorType
/external/python/cpython3/Doc/library/
Dtypes.rst110 .. data:: GeneratorType
/external/python/cpython3/Lib/test/
Dtest_coroutines.py31 assert coro.__class__ in {types.GeneratorType, types.CoroutineType}