Browse Source

Add missing word ("thread") to sentence about call_soon_threadsafe.

pull/224/head
Guido van Rossum 12 years ago
parent
commit
3c9bb69fa1
  1. 2
      Doc/library/asyncio-dev.rst

2
Doc/library/asyncio-dev.rst

@ -19,7 +19,7 @@ and the event loop executes the next task.
To schedule a callback from a different thread, the
:meth:`BaseEventLoop.call_soon_threadsafe` method should be used. Example to
schedule a coroutine from a different::
schedule a coroutine from a different thread::
loop.call_soon_threadsafe(asyncio.async, coro_func())

Loading…
Cancel
Save