summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2014-02-09 14:07:47 (GMT)
committerEli Bendersky <eliben@gmail.com>2014-02-09 14:07:47 (GMT)
commitb73c83318d02036281816c51e17a05c568f3db4e (patch)
treeaa1920b5ea0463de27afb8b0d7c26c1dd41d3655
parent8b402629aeb9922b6e80204b913f4022da1ce730 (diff)
downloadcpython-b73c83318d02036281816c51e17a05c568f3db4e.zip
cpython-b73c83318d02036281816c51e17a05c568f3db4e.tar.gz
cpython-b73c83318d02036281816c51e17a05c568f3db4e.tar.bz2
Various formatting & grammar fixes in asyncio* docs.
-rw-r--r--Doc/library/asyncio-dev.rst2
-rw-r--r--Doc/library/asyncio-eventloop.rst8
-rw-r--r--Doc/library/asyncio.rst2
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 <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
--------------------
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 <asyncio-sync>` for use between coroutines in
a single thread, mimicking those in the :mod:`threading` module;