mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
7 lines
168 B
Python
7 lines
168 B
Python
import asyncio
|
|
|
|
def example():
|
|
<error descr="'await' outside async function">await</error> asyncio.sleep(1)
|
|
|
|
async def example_correct():
|
|
await asyncio.sleep(1) |