mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 16:02:32 +07:00
- Drop support for python 3.5 & 3.6 in compatibility inspection - Fix and remove some outdated tests - Remove xmls for long-unsupported python 2.6 & 3.5 - Regenerate versions.xml - Remove mentions of OS-specific modules GitOrigin-RevId: 3265dd1de8a4f7a41119e10c95bb705ca5845efe
16 lines
635 B
Python
16 lines
635 B
Python
<warning descr="Python version 2.7 does not support this syntax">async</warning> def asyncgen():
|
|
yield 10
|
|
<warning descr="Python version 2.7 does not support this syntax">async</warning> def run():
|
|
{i async for i in asyncgen()}
|
|
[i async for i in asyncgen()]
|
|
{i: i ** 2 async for i in asyncgen()}
|
|
(i ** 2 async for i in asyncgen())
|
|
list(i async for i in asyncgen())
|
|
|
|
dataset = {data for line in gen()
|
|
async for data in line
|
|
if check(data)}
|
|
|
|
dataset = {data async for line in asyncgen()
|
|
async for data in line
|
|
if check(data)} |