mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
14 lines
165 B
Python
14 lines
165 B
Python
import asyncio
|
|
|
|
|
|
@asyncio.coroutine
|
|
def bar():
|
|
yield from asyncio.sleep(2)
|
|
return "hey"
|
|
|
|
|
|
@asyncio.coroutine
|
|
def foo():
|
|
yield from bar()
|
|
return True
|