diff --git a/nest-asyncio/README.md b/nest-asyncio/README.md index 998ae20..b2a4b3d 100644 --- a/nest-asyncio/README.md +++ b/nest-asyncio/README.md @@ -10,9 +10,11 @@ def _run_once(loop): loop.__class__._run_once = _run_once asyncio.run = loop.run_until_complete + async def hello(): - async def world(): print('hello') - asyncio.run(world()) or print('world') + print('hello') + async def world(): print('world') + asyncio.run(world()) asyncio.run(hello()) """ hello