Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dcoroutines.py40 assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen
125 if (base_futures.isfuture(res) or inspect.isgenerator(res) or
Dtasks.py310 elif inspect.isgenerator(result):
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py380 def isgenerator(object): # pylint: disable=redefined-builtin function
382 return _inspect.isgenerator(tf_decorator.unwrap(object)[1])
Ddata_utils.py112 return tf_inspect.isgenerator(x) or isinstance(x, Sequence) or is_iterator(x)
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py394 def isgenerator(object): # pylint: disable=redefined-builtin function
396 return _inspect.isgenerator(tf_decorator.unwrap(object)[1])
/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,
148 self.istest(inspect.isgenerator, '(x for x in range(2))')
184 self.assertTrue(inspect.isgenerator(gen_coro))
200 self.assertFalse(inspect.isgenerator(coro))
/external/python/cpython3/Lib/
Dinspect.py209 def isgenerator(object): function
1683 if not isgenerator(generator):
/external/python/cpython2/Doc/library/
Dinspect.rst293 .. function:: isgenerator(object)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_v1.py1711 tf_inspect.isgenerator(x)):
/external/python/cpython3/Doc/library/
Dinspect.rst315 .. 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`,