Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ runner
Method
runner
Lib/test/test_asyncio/test_pep492.py:183–186 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
181
f = None
182
183
async
def
runner():
184
nonlocal T
185
T = asyncio.ensure_future(foo(), loop=self.loop)
186
await T
187
188
self.loop.run_until_complete(runner())
189
Callers
nothing calls this directly
Calls
4
foo
Function · 0.50
create_task
Method · 0.45
sleep
Method · 0.45
cancel
Method · 0.45
Tested by
no test coverage detected