Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ foo
Method
foo
Lib/test/test_coroutines.py:533–534 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
531
532
def
test_func_1(self):
533
async
def
foo():
534
return
10
535
536
f = foo()
537
self.assertIsInstance(f, types.CoroutineType)
Callers
nothing calls this directly
Calls
13
AsyncYieldFrom
Class · 0.85
ident
Function · 0.85
gen
Function · 0.70
Awaitable
Class · 0.70
wrap
Function · 0.70
Manager
Class · 0.70
CM
Class · 0.70
AI
Class · 0.70
AIter
Class · 0.70
bar
Function · 0.50
b
Method · 0.45
assertIs
Method · 0.45
Tested by
no test coverage detected