Searched refs:isgenerator (Results 1 – 6 of 6) sorted by relevance
40 assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen125 if (base_futures.isfuture(res) or inspect.isgenerator(res) or
310 elif inspect.isgenerator(result):
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))
209 def isgenerator(object): function1683 if not isgenerator(generator):
315 .. function:: isgenerator(object)
2006 :func:`isgenerator`, :func:`isgeneratorfunction`,