Slight wording change suggested by Steve Dower.

This commit is contained in:
Guido van Rossum 2012-12-14 15:49:29 -08:00
parent 4f0c72e228
commit 8f1bf85241
1 changed files with 3 additions and 3 deletions

View File

@ -154,7 +154,7 @@ A conforming event loop object has the following methods:
- ``run()``. Runs the event loop until there is nothing left to do. - ``run()``. Runs the event loop until there is nothing left to do.
This means, in particular: This means, in particular:
- No more calls scheduled with ``call_later()`` (except for canceled - No more calls scheduled with ``call_later()`` (except for canceled
calls). calls).
@ -720,8 +720,8 @@ into a Task, callbacks can be added to the Task.
You may ask, why not convert all coroutines to Tasks? The You may ask, why not convert all coroutines to Tasks? The
``@tulip.coroutine`` decorator could do this. This would slow things ``@tulip.coroutine`` decorator could do this. This would slow things
down considerably in the case where one coroutine calls another (and down considerably in the case where one coroutine calls another (and
so on), as waiting for a "bare" coroutine has much less overhead than so on), as switching to a "bare" coroutine has much less overhead than
waiting for a Future. switching to a Task.
The Scheduler The Scheduler
------------- -------------