Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ main
Method
main
Lib/test/test_asyncgen.py:1737–1742 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1735
1736
it = async_iterate()
1737
async
def
main():
1738
loop = asyncio.get_running_loop()
1739
loop.set_exception_handler(exception_handler)
1740
1741
async
for
i in it:
1742
break
1743
1744
asyncio.run(main())
1745
Callers
1
test_asyncgen.py
File · 0.45
Calls
2
gc_collect
Function · 0.90
set_exception_handler
Method · 0.45
Tested by
no test coverage detected