Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Gen
Class
Gen
Lib/test/test_asyncgen.py:743–746 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
741
def
test_async_gen_aiter_class(self):
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
2
test_async_gen_aiter_class
Method · 0.70
test_async_gen_asyncio_03
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_async_gen_aiter_class
Method · 0.56
test_async_gen_asyncio_03
Method · 0.56