Searched refs:GeneratorType (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
D | generator_io.py | 28 from types import GeneratorType 99 if not isinstance(generator, GeneratorType):
|
/external/python/cpython3/Lib/ |
D | types.py | 20 GeneratorType = type(_g()) variable 204 self.__isgen = gen.__class__ is GeneratorType 279 coro.__class__ is GeneratorType and coro.gi_code.co_flags & 0x100):
|
D | inspect.py | 215 return isinstance(object, types.GeneratorType) 224 isinstance(object, types.GeneratorType) and
|
/external/python/cpython2/Lib/ |
D | types.py | 49 GeneratorType = type(_g()) variable
|
D | inspect.py | 178 return isinstance(object, types.GeneratorType)
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 168 _COROUTINE_TYPES = (types.CoroutineType, types.GeneratorType,
|
/external/scapy/scapy/ |
D | base_classes.py | 43 isinstance(i, (range, types.GeneratorType))):
|
/external/libchrome/third_party/jinja2/ |
D | sandbox.py | 195 elif isinstance(obj, types.GeneratorType):
|
/external/python/cpython2/Doc/library/ |
D | types.rst | 128 .. data:: GeneratorType
|
/external/python/cpython3/Doc/library/ |
D | types.rst | 110 .. data:: GeneratorType
|
/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 31 assert coro.__class__ in {types.GeneratorType, types.CoroutineType}
|