Lines Matching refs:coroutine
38 .. |coroutine-origin-link| replace:: :func:`sys.set_coroutine_origin_tracking_depth`
216 | coroutine | __name__ | name |
225 | | cr_running | is the coroutine running? |
229 | | cr_origin | where coroutine was |
231 | | | |coroutine-origin-link| |
328 Return ``True`` if the object is a :term:`coroutine function`
335 wrapped function is a :term:`coroutine function`.
340 Return ``True`` if the object is a :term:`coroutine` created by an
355 @types.coroutine
1354 When implementing coroutine schedulers and for other advanced uses of
1372 .. function:: getcoroutinestate(coroutine)
1374 Get current state of a coroutine object. The function is intended to be
1375 used with coroutine objects created by :keyword:`async def` functions, but
1376 will accept any coroutine-like object that has ``cr_running`` and
1411 .. function:: getcoroutinelocals(coroutine)
1414 works for coroutine objects created by :keyword:`async def` functions.
1459 The flag is set when the code object is a coroutine function.
1460 When the code object is executed it returns a coroutine object.
1469 ``await`` expression, and can ``yield from`` coroutine objects.