Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ foo
Method
foo
Lib/test/test_coroutines.py:2522–2524 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2520
from
_testcapi
import
awaitType
as
at
2521
2522
async
def
foo():
2523
future = at(iter([1]))
2524
return
(await future)
2525
2526
self.assertEqual(foo().send(None), 1)
2527
Callers
nothing calls this directly
Calls
2
at
Function · 0.85
iter
Function · 0.85
Tested by
no test coverage detected