mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-17 16:08:37 +07:00
Update highlighting and compatibility visitor to correctly process async generators described in PEP 525
6 lines
155 B
Python
6 lines
155 B
Python
async def foo(x):
|
|
await x
|
|
yield x
|
|
<error descr="Python does not support 'yield from' inside async functions">yield from x</error>
|
|
return x
|