@@ -71,8 +71,8 @@ the event loop.
7171
7272.. seealso ::
7373
74- See the :ref: `Synchronization primitives <asyncio-sync >` section to
75- synchronize tasks.
74+ The :ref: `Synchronization primitives <asyncio-sync >` section describes ways
75+ to synchronize tasks.
7676
7777
7878.. _asyncio-handle-blocking :
@@ -112,8 +112,8 @@ Detect coroutine objects never scheduled
112112----------------------------------------
113113
114114When a coroutine function is called and its result is not passed to
115- :func: `async ` or to the :meth: `BaseEventLoop.create_task ` method: the execution
116- of the coroutine objet will never be scheduled and it is probably a bug.
115+ :func: `async ` or to the :meth: `BaseEventLoop.create_task ` method, the execution
116+ of the coroutine object will never be scheduled which is probably a bug.
117117:ref: `Enable the debug mode of asyncio <asyncio-debug-mode >` to :ref: `log a
118118warning <asyncio-logger>` to detect it.
119119
@@ -147,7 +147,7 @@ Detect exceptions never consumed
147147
148148Python usually calls :func: `sys.displayhook ` on unhandled exceptions. If
149149:meth: `Future.set_exception ` is called, but the exception is never consumed,
150- :func: `sys.displayhook ` is not called. Instead, a :ref: `a log is emitted
150+ :func: `sys.displayhook ` is not called. Instead, :ref: `a log is emitted
151151<asyncio-logger>` when the future is deleted by the garbage collector, with the
152152traceback where the exception was raised.
153153
@@ -195,7 +195,7 @@ traceback where the task was created. Output in debug mode::
195195 raise Exception("not consumed")
196196 Exception: not consumed
197197
198- There are different options to fix this issue. The first option is to chain to
198+ There are different options to fix this issue. The first option is to chain the
199199coroutine in another coroutine and use classic try/except::
200200
201201 @asyncio.coroutine
@@ -218,10 +218,12 @@ function::
218218 except Exception:
219219 print("exception consumed")
220220
221- See also the :meth: `Future.exception ` method.
221+ .. seealso ::
222+
223+ The :meth: `Future.exception ` method.
222224
223225
224- Chain correctly coroutines
226+ Chain coroutines correctly
225227--------------------------
226228
227229When a coroutine function calls other coroutine functions and tasks, they
0 commit comments