Lines Matching refs:coroutine
410 """Return true if the object is a coroutine function.
446 """Return true if the object is a coroutine."""
492 | 16=nested | 32=generator | 64=nofree | 128=coroutine
1898 # ------------------------------------------------ coroutine introspection
1905 def getcoroutinestate(coroutine):
1906 """Get current state of a coroutine object.
1914 if coroutine.cr_running:
1916 if coroutine.cr_suspended:
1918 if coroutine.cr_frame is None:
1923 def getcoroutinelocals(coroutine):
1925 Get the mapping of coroutine local variables to their current values.
1929 frame = getattr(coroutine, "cr_frame", None)