MCPcopy Index your code
hub / github.com/python/cpython / main

Method main

Lib/test/test_asyncio/test_graph.py:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 await task
70
71 async def main():
72 async with asyncio.TaskGroup() as tg:
73 task = tg.create_task(c2(), name="c2_root")
74 tg.create_task(c1(task), name="sub_main_1")
75 tg.create_task(c1(task), name="sub_main_2")
76
77 await main()
78

Callers

nothing calls this directly

Calls 7

set_resultMethod · 0.95
capture_test_stackFunction · 0.85
genFunction · 0.50
create_taskMethod · 0.45
gatherMethod · 0.45
waitMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected