]> granicus.if.org Git - python/commitdiff
Various formatting & grammar fixes in asyncio* docs.
authorEli Bendersky <eliben@gmail.com>
Sun, 9 Feb 2014 14:07:47 +0000 (06:07 -0800)
committerEli Bendersky <eliben@gmail.com>
Sun, 9 Feb 2014 14:07:47 +0000 (06:07 -0800)
Doc/library/asyncio-dev.rst
Doc/library/asyncio-eventloop.rst
Doc/library/asyncio.rst

index aab925b1e53560c7b748508887c5d27ea4c1e5a6..b0d28b1e2c51dbbb690cc731f25764658f88bea1 100644 (file)
@@ -44,7 +44,7 @@ the event loop.
 
 .. _asyncio-handle-blocking:
 
-Handle correctly blocking functions
+Handle blocking functions correctly
 -----------------------------------
 
 Blocking functions should not be called directly. For example, if a function
index fcaf5e52a855340b82464ba5411915c852f5d319..044f8d7ac776e6f4beb964851e0445fe530db706 100644 (file)
@@ -8,15 +8,15 @@ Event loops
 The event loop is the central execution device provided by :mod:`asyncio`.
 It provides multiple facilities, amongst which:
 
-* Registering, executing and cancelling delayed calls (timeouts)
+* Registering, executing and cancelling delayed calls (timeouts).
 
 * Creating client and server :ref:`transports <asyncio-transport>` for various
-  kinds of communication
+  kinds of communication.
 
 * Launching subprocesses and the associated :ref:`transports <asyncio-transport>`
-  for communication with an external program
+  for communication with an external program.
 
-* Delegating costly function calls to a pool of threads
+* Delegating costly function calls to a pool of threads.
 
 Event loop functions
 --------------------
index e6ea89b2329897ce425d98222e0af6060b9c3a88..23731b13212091930f41dd7b627c17d7e30fb0ee 100644 (file)
@@ -30,7 +30,7 @@ Here is a more detailed list of the package contents:
 * coroutines and tasks based on ``yield from`` (:PEP:`380`), to help write
   concurrent code in a sequential fashion;
 
-* cancellation support for Futures and coroutines;
+* cancellation support for :class:`Future`\s and coroutines;
 
 * :ref:`synchronization primitives <asyncio-sync>` for use between coroutines in
   a single thread, mimicking those in the :mod:`threading` module;