summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-07-24 06:59:02 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-07-24 06:59:02 (GMT)
commit9ff41803af8206e7e76b5feb389faf7e8767afd9 (patch)
treeba17b5c721b48752764212d78c8a47c8ca158908
parentc935a9530c8583e17c5c5ceeec2097c96016e1d9 (diff)
downloadcpython-9ff41803af8206e7e76b5feb389faf7e8767afd9.zip
cpython-9ff41803af8206e7e76b5feb389faf7e8767afd9.tar.gz
cpython-9ff41803af8206e7e76b5feb389faf7e8767afd9.tar.bz2
Asyncio doc fixes: spelling, grammar, duplication.
-rw-r--r--Doc/library/asyncio-eventloop.rst4
-rw-r--r--Doc/library/asyncio.rst4
2 files changed, 3 insertions, 5 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 6fe5aa1..46af81f 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -58,13 +58,11 @@ Run an event loop
.. method:: BaseEventLoop.close()
- Close the event loop. The loop should not be running.
+ Close the event loop. The loop must not be running.
This clears the queues and shuts down the executor, but does not wait for
the executor to finish.
- The event loop must not be running.
-
This is idempotent and irreversible. No other methods should be called after
this one.
diff --git a/Doc/library/asyncio.rst b/Doc/library/asyncio.rst
index 9857c93..90a152b 100644
--- a/Doc/library/asyncio.rst
+++ b/Doc/library/asyncio.rst
@@ -39,7 +39,7 @@ Here is a more detailed list of the package contents:
you absolutely, positively have to use a library that makes blocking
I/O calls.
-Table of content:
+Table of contents:
.. toctree::
:maxdepth: 3
@@ -55,6 +55,6 @@ Table of content:
.. seealso::
- The :mod:`asyncio` module was designed in the :PEP:`3156`. For a
+ The :mod:`asyncio` module was designed in :PEP:`3156`. For a
motivational primer on transports and protocols, see :PEP:`3153`.