From b73c83318d02036281816c51e17a05c568f3db4e Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sun, 9 Feb 2014 06:07:47 -0800 Subject: Various formatting & grammar fixes in asyncio* docs. --- Doc/library/asyncio-dev.rst | 2 +- Doc/library/asyncio-eventloop.rst | 8 ++++---- Doc/library/asyncio.rst | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index aab925b..b0d28b1 100644 --- a/Doc/library/asyncio-dev.rst +++ b/Doc/library/asyncio-dev.rst @@ -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 diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index fcaf5e5..044f8d7 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -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 ` for various - kinds of communication + kinds of communication. * Launching subprocesses and the associated :ref:`transports ` - 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 -------------------- diff --git a/Doc/library/asyncio.rst b/Doc/library/asyncio.rst index e6ea89b..23731b1 100644 --- a/Doc/library/asyncio.rst +++ b/Doc/library/asyncio.rst @@ -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 ` for use between coroutines in a single thread, mimicking those in the :mod:`threading` module; -- cgit v0.12