async def g1(): yield 1 yield 2 async def g2(): async for v in g1(): yield v