Searched refs:iscoroutine (Results 1 – 14 of 14) sorted by relevance
69 assert coroutines.iscoroutine(coro), repr(coro)295 if futures.isfuture(fs) or coroutines.iscoroutine(fs):424 if futures.isfuture(fs) or coroutines.iscoroutine(fs):510 elif coroutines.iscoroutine(coro_or_future):697 if not coroutines.iscoroutine(coro):
91 assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen268 def iscoroutine(obj): function274 assert iscoroutine(coro)
239 if coroutines.iscoroutine(res):
80 if (coroutines.iscoroutine(callback)
583 if (coroutines.iscoroutine(callback) or
101 self.assertTrue(asyncio.iscoroutine(f))112 self.assertTrue(asyncio.iscoroutine(FakeCoro()))
1434 self.assertTrue(asyncio.iscoroutine(coro))1702 self.assertTrue(asyncio.iscoroutine(gen))
2428 self.assertTrue(asyncio.iscoroutine(coro))
35 call it a *coroutine object* (:func:`iscoroutine` returns ``True``).562 .. function:: iscoroutine(obj)
294 .. function:: iscoroutine(object)
68 inspect.iscoroutine, inspect.iscoroutinefunction,138 self.istest(inspect.iscoroutine, 'coroutine_function_example(1)')152 self.assertFalse(inspect.iscoroutine(gen_coro))160 self.assertTrue(inspect.iscoroutine(coro))
217 def iscoroutine(object): function
1314 :func:`~inspect.iscoroutine`, :func:`~inspect.iscoroutinefunction`,
5741 works only for 'async def' coroutines; inspect.iscoroutine no longer