Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ awaitable
Function
awaitable
Lib/test/test_asyncgen.py:21–25 ·
view source on GitHub ↗
(*, throw=False)
Source
from the content-addressed store, hash-verified
19
20
@types.coroutine
21
def
awaitable(*, throw=False):
22
if
throw:
23
yield
(
'throw'
,)
24
else
:
25
yield
(
'result'
,)
26
27
28
def
run_until_complete(coro):
Callers
2
gen
Method · 0.85
async_gen
Method · 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…