mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
14 lines
363 B
Python
14 lines
363 B
Python
import asyncio
|
|
|
|
def useless_decorator(param):
|
|
def decorator(func):
|
|
pass
|
|
return decorator
|
|
|
|
@useless_decorator(param=(<error descr="'await' outside async function">await</error> asyncio.sleep(1)))
|
|
def fun():
|
|
pass
|
|
|
|
@useless_decorator(param=(<error descr="'await' outside async function">await</error> asyncio.sleep(1)))
|
|
async def fun2():
|
|
pass |