MCPcopy Index your code
hub / github.com/python/cpython / is_running

Function is_running

Lib/asyncio/coroutines.py:74–81  ·  view source on GitHub ↗
(coro)

Source from the content-addressed store, hash-verified

72 return f'{coro_name}()'
73
74 def is_running(coro):
75 try:
76 return coro.cr_running
77 except AttributeError:
78 try:
79 return coro.gi_running
80 except AttributeError:
81 return False
82
83 coro_code = None
84 if hasattr(coro, 'cr_code') and coro.cr_code:

Callers 1

_format_coroutineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…