Skip to content

Commit 4465d26

Browse files
committed
synchronize docstring: use recommended replacement for loop.run_trio
1 parent 050fb3d commit 4465d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trio_asyncio/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ async def synchronize(self):
413413
414414
This is a Trio-flavored async function.
415415
416-
From asyncio, call ``await loop.run_trio(loop.synchronize)``
416+
From asyncio, call ``await trio_as_aio(loop.synchronize)()``
417417
instead of ``await asyncio.sleep(0)`` if you need to process all
418418
queued callbacks.
419419

0 commit comments

Comments
 (0)