Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __aiter__
Method
__aiter__
Lib/test/test_asyncgen.py:744–746 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
742
results = []
743
class
Gen:
744
async
def
__aiter__(self):
745
yield
1
746
yield
2
747
g = Gen()
748
async
def
consume():
749
ait = aiter(g)
Callers
6
test_async_gen_iteration_02
Method · 0.45
test_async_gen_exception_04
Method · 0.45
test_async_gen_exception_12
Method · 0.45
run1
Method · 0.45
run2
Method · 0.45
run
Method · 0.45
Calls
1
sleep
Method · 0.45
Tested by
no test coverage detected