]> granicus.if.org Git - python/commitdiff
Fix grammar and add markup
authorEli Bendersky <eliben@gmail.com>
Mon, 20 Jan 2014 16:13:31 +0000 (08:13 -0800)
committerEli Bendersky <eliben@gmail.com>
Mon, 20 Jan 2014 16:13:31 +0000 (08:13 -0800)
Doc/library/asyncio-dev.rst

index 47448ee8ad6f168415c77d39c62fe082423fc319..74bbc28a73a4f15ee0afdc24958c7a864a8887dd 100644 (file)
@@ -4,7 +4,7 @@ Develop with asyncio
 ====================
 
 Asynchronous programming is different than classical "sequential" programming.
-This page lists common traps and explain how to avoid them.
+This page lists common traps and explains how to avoid them.
 
 
 Handle correctly blocking functions
@@ -131,14 +131,15 @@ function::
 See also the :meth:`Future.exception` method.
 
 
-Chain correctly coroutines
+Chain coroutines correctly
 --------------------------
 
 When a coroutine function calls other coroutine functions and tasks, they
-should chained explicitly with ``yield from``. Otherwise, the execution is no
-more guaranteed to be sequential.
+should be chained explicitly with ``yield from``. Otherwise, the execution is
+not guaranteed to be sequential.
 
-Example with different bugs using sleep to simulate slow operations::
+Example with different bugs using :func:`asyncio.sleep` to simulate slow
+operations::
 
     import asyncio