Searched refs:isgenerator (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 40 assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen 125 if (base_futures.isfuture(res) or inspect.isgenerator(res) or
|
D | tasks.py | 310 elif inspect.isgenerator(result):
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | tf_inspect.py | 380 def isgenerator(object): # pylint: disable=redefined-builtin function 382 return _inspect.isgenerator(tf_decorator.unwrap(object)[1])
|
D | data_utils.py | 112 return tf_inspect.isgenerator(x) or isinstance(x, Sequence) or is_iterator(x)
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_inspect.py | 394 def isgenerator(object): # pylint: disable=redefined-builtin function 396 return _inspect.isgenerator(tf_decorator.unwrap(object)[1])
|
/external/python/cpython2/Lib/test/ |
D | test_inspect.py | 53 inspect.isgenerator, inspect.isgeneratorfunction]) 91 self.istest(inspect.isgenerator, '(x for x in xrange(2))')
|
/external/python/cpython2/Lib/ |
D | inspect.py | 163 def isgenerator(object): function
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 89 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/ |
D | inspect.py | 209 def isgenerator(object): function 1683 if not isgenerator(generator):
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 293 .. function:: isgenerator(object)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_v1.py | 1711 tf_inspect.isgenerator(x)):
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 315 .. function:: isgenerator(object)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 1419 added isgenerator() and isgeneratorfunction() to inspect.py.
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2002 :func:`isgenerator`, :func:`isgeneratorfunction`,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 2006 :func:`isgenerator`, :func:`isgeneratorfunction`,
|