From: Eli Bendersky Date: Sun, 9 Feb 2014 14:07:47 +0000 (-0800) Subject: Various formatting & grammar fixes in asyncio* docs. X-Git-Tag: v3.4.0rc1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b73c83318d02036281816c51e17a05c568f3db4e;p=thirdparty%2FPython%2Fcpython.git Various formatting & grammar fixes in asyncio* docs. --- diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index aab925b1e535..b0d28b1e2c51 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 fcaf5e52a855..044f8d7ac776 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 e6ea89b23298..23731b132120 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;