Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ run_async
Method
run_async
Lib/test/test_opcache.py:1585–1590 ·
view source on GitHub ↗
(coro)
Source
from the content-addressed store, hash-verified
1583
@requires_specialization
1584
def
test_send_with(self):
1585
def
run_async(coro):
1586
while
True:
1587
try
:
1588
coro.send(None)
1589
except
StopIteration:
1590
break
1591
1592
class
CM:
1593
async
def
__aenter__(self):
Callers
nothing calls this directly
Calls
1
send
Method · 0.45
Tested by
no test coverage detected