mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 17:15:38 +07:00
# Conflicts: # community/python/python-psi-impl/src/com/jetbrains/python/validation/PyAsyncAwaitAnnotator.java GitOrigin-RevId: 125a714f769ac93c8516250ae5b92afff14518f0
11 lines
167 B
Python
11 lines
167 B
Python
import asyncio
|
|
|
|
async def genfunc():
|
|
yield 1
|
|
|
|
async def example():
|
|
{x async for x in genfunc()}
|
|
|
|
async def example_correct():
|
|
{x async for x in genfunc()}
|