We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c46c1 commit fa6faa1Copy full SHA for fa6faa1
1 file changed
README.md
@@ -321,7 +321,7 @@ tinyio.from_asyncio tinyio.from_trio
321
322
---
323
324
-- `tinyio.from_trio(async_fn, *args)`
+- `tinyio.from_trio(coro)`
325
326
This converts an `trio` coroutine into a `tinyio` coroutine.
327
@@ -332,7 +332,7 @@ tinyio.from_asyncio tinyio.from_trio
332
return x + 1
333
334
def foo(x):
335
- y = yield tinyio.from_trio(add_one, x)
+ y = yield tinyio.from_trio(add_one(x))
336
return y
337
338
tinyio.Loop().run(foo(3))
0 commit comments