Home
last modified time | relevance | path

Searched refs:isgenerator (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dcoroutines.py39 assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen
121 if (base_futures.isfuture(res) or inspect.isgenerator(res) or
Dtasks.py274 elif inspect.isgenerator(result):
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py368 def isgenerator(object): # pylint: disable=redefined-builtin function
370 return _inspect.isgenerator(tf_decorator.unwrap(object)[1])
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py98 return tf_inspect.isgenerator(x) or isinstance(x, Sequence)
/external/python/cpython2/Lib/test/
Dtest_inspect.py53 inspect.isgenerator, inspect.isgeneratorfunction])
91 self.istest(inspect.isgenerator, '(x for x in xrange(2))')
/external/python/cpython2/Lib/
Dinspect.py163 def isgenerator(object): function
/external/python/cpython3/Lib/test/
Dtest_inspect.py89 inspect.isgenerator, inspect.isgeneratorfunction,
151 self.istest(inspect.isgenerator, '(x for x in range(2))')
178 self.assertTrue(inspect.isgenerator(gen_coro))
186 self.assertFalse(inspect.isgenerator(coro))
/external/python/cpython3/Lib/
Dinspect.py200 def isgenerator(object): function
1644 if not isgenerator(generator):
/external/python/cpython2/Doc/library/
Dinspect.rst293 .. function:: isgenerator(object)
/external/python/cpython3/Doc/library/
Dinspect.rst301 .. function:: isgenerator(object)
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst1419 added isgenerator() and isgeneratorfunction() to inspect.py.
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2002 :func:`isgenerator`, :func:`isgeneratorfunction`,
/external/python/cpython3/Doc/whatsnew/
D2.6.rst2006 :func:`isgenerator`, :func:`isgeneratorfunction`,