mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 23:52:23 +07:00
10 lines
196 B
Python
10 lines
196 B
Python
import asyncio
|
|
|
|
|
|
class FutureLike:
|
|
def __await__(self):
|
|
yield from asyncio.sleep(2)
|
|
|
|
|
|
async def foo():
|
|
<warning descr="Coroutine 'FutureLike' is not awaited">FutureLike()</warning> |