Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ foo2
Method
foo2
Lib/test/test_coroutines.py:1063–1064 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1061
await bar() * 1000 + await DB.b()())
1062
1063
async
def
foo2():
1064
return
-await bar()
1065
1066
self.assertEqual(run_async(foo()), ([], 42168))
1067
self.assertEqual(run_async(foo2()), ([], -42))
Callers
nothing calls this directly
Calls
1
bar
Function · 0.50
Tested by
no test coverage detected