Home
last modified time | relevance | path

Searched refs:isawaitable (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Doc/library/
Dcollections.abc.rst196 Use :func:`inspect.isawaitable` to detect them.
214 Use :func:`inspect.isawaitable` to detect them.
Dasyncio-future.rst41 awaitable (:func:`inspect.isawaitable` is used for the test.)
Dinspect.rst322 .. function:: isawaitable(object)
335 assert not isawaitable(gen())
336 assert isawaitable(gen_coro())
/external/libchrome/third_party/jinja2/
Dasyncsupport.py176 if inspect.isawaitable(value):
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst44 coroutines--use inspect.isawaitable instead.
D3.6.0b4.rst225 Fix inspect.isawaitable to always return bool Patch by Justin Mayfield.
D3.5.3rc1.rst1654 Fix inspect.isawaitable to always return bool Patch by Justin Mayfield.
/external/python/cpython3/Lib/asyncio/
Dtasks.py589 elif inspect.isawaitable(coro_or_future):
/external/python/cpython3/Lib/test/
Dtest_inspect.py192 self.assertFalse(inspect.isawaitable(gen()))
197 self.assertTrue(inspect.isawaitable(coro))
198 self.assertTrue(inspect.isawaitable(gen_coro))
203 self.assertTrue(inspect.isawaitable(Future()))
204 self.assertFalse(inspect.isawaitable(Future))
209 self.assertFalse(inspect.isawaitable(not_fut))
Dtest_asyncgen.py319 self.assertTrue(inspect.isawaitable(g.aclose()))
/external/python/cpython3/Lib/
Dinspect.py221 def isawaitable(object): function
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1315 :func:`~inspect.isawaitable`, :func:`~inspect.getcoroutinelocals`,