Skip to content

Commit 604e672

Browse files
committed
stupid doc mistake
1 parent 21ef0f4 commit 604e672

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Thus, you can call an :mod:`asyncio` function from :mod:`trio` thus::
259259
await asyncio.sleep(sec)
260260
async def trio_sleep(sec=2):
261261
await aio_as_trio(aio_sleep)(sec)
262-
trio_asyncio.run(trio_sleep)(3)
262+
trio_asyncio.run(trio_sleep, 3)
263263

264264
or pre-wrapped::
265265

0 commit comments

Comments
 (0)