asyncio doc: cleanup Hello World examples

This commit is contained in:
Victor Stinner 2014-10-11 16:15:58 +02:00
parent 5121a9ba4a
commit 6888b96cee
2 changed files with 11 additions and 6 deletions

View file

@ -98,8 +98,9 @@ Print ``"Hello World"`` every two seconds using a coroutine::
.. seealso::
:ref:`Hello World example using a callback <asyncio-hello-world-callback>`.
The :ref:`Hello World with a callback <asyncio-hello-world-callback>`
example uses a callback scheduled by the :meth:`BaseEventLoop.call_soon`
method.
Example: Chain coroutines
^^^^^^^^^^^^^^^^^^^^^^^^^