Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dcoroutines.py110 if inspect.iscoroutinefunction(func):
160 def iscoroutinefunction(func): function
162 return (inspect.iscoroutinefunction(func) or
Dunix_events.py82 coroutines.iscoroutinefunction(callback)):
Dbase_events.py699 coroutines.iscoroutinefunction(callback)):
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_pep492.py122 self.assertTrue(asyncio.iscoroutinefunction(foo))
Dtest_tasks.py1535 self.assertFalse(asyncio.iscoroutinefunction(fn))
1539 self.assertFalse(asyncio.iscoroutinefunction(fn1))
1544 self.assertTrue(asyncio.iscoroutinefunction(fn2))
1546 self.assertFalse(asyncio.iscoroutinefunction(mock.Mock()))
1584 self.assertTrue(asyncio.iscoroutinefunction(func))
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst252 Fix asyncio.iscoroutinefunction to handle Mock objects.
D3.5.3rc1.rst1681 Fix asyncio.iscoroutinefunction to handle Mock objects.
/external/python/cpython3/Doc/library/
Dasyncio-task.rst901 .. function:: iscoroutinefunction(func)
906 This method is different from :func:`inspect.iscoroutinefunction`
Dinspect.rst306 .. function:: iscoroutinefunction(object)
/external/python/cpython3/Lib/test/
Dtest_inspect.py90 inspect.iscoroutine, inspect.iscoroutinefunction,
100 predicate == inspect.iscoroutinefunction) and \
161 self.istest(inspect.iscoroutinefunction, 'coroutine_function_example')
173 inspect.iscoroutinefunction(gen_coroutine_function_example))
181 inspect.iscoroutinefunction(coroutine_function_example))
Dtest_coroutines.py499 self.assertTrue(inspect.iscoroutinefunction(ns['foo']))
/external/python/cpython3/Lib/
Dinspect.py179 def iscoroutinefunction(object): function
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1314 :func:`~inspect.iscoroutine`, :func:`~inspect.iscoroutinefunction`,