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