Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ make_arange
Method
make_arange
Lib/test/test_asyncgen.py:1813–1815 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
1811
yield
i
1812
1813
def
make_arange(n):
1814
# This syntax is legal starting with Python 3.7
1815
return
(i * 2 async
for
i in arange(n))
1816
1817
async
def
run():
1818
return
[i async
for
i in make_arange(10)]
Callers
nothing calls this directly
Calls
1
wrap
Function · 0.70
Tested by
no test coverage detected