[Python-checkins] cpython: Various formatting & grammar fixes in asyncio* docs.
eli.bendersky
python-checkins at python.org
Sun Feb 9 15:07:48 CET 2014
http://hg.python.org/cpython/rev/76713f4d9f0f
changeset: 89089:76713f4d9f0f
user: Eli Bendersky <eliben at gmail.com>
date: Sun Feb 09 06:07:47 2014 -0800
summary:
Various formatting & grammar fixes in asyncio* docs.
files:
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
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -44,7 +44,7 @@
.. _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
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -8,15 +8,15 @@
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
--- a/Doc/library/asyncio.rst
+++ b/Doc/library/asyncio.rst
@@ -30,7 +30,7 @@
* 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;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list