[Python-checkins] cpython: Spelling corrections. Submitted to python-dev by python at mrabarnett.plus.com
brian.curtin
python-checkins at python.org
Sun Feb 9 01:37:04 CET 2014
http://hg.python.org/cpython/rev/3cfaeb788e00
changeset: 89074:3cfaeb788e00
parent: 89072:53de17e05d05
user: Brian Curtin <brian at python.org>
date: Sat Feb 08 18:36:14 2014 -0600
summary:
Spelling corrections. Submitted to python-dev by python at mrabarnett.plus.com
files:
Doc/library/asyncio-protocol.rst | 2 +-
Doc/library/asyncio-subprocess.rst | 6 +++---
Doc/library/asyncio-task.rst | 4 ++--
Doc/library/asyncio.rst | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -194,7 +194,7 @@
.. method:: get_pipe_transport(fd)
- Return the transport for the communication pipe correspondong to the
+ Return the transport for the communication pipe corresponding to the
integer file descriptor *fd*. The return value can be a readable or
writable streaming transport, depending on the *fd*. If *fd* doesn't
correspond to a pipe belonging to this transport, :const:`None` is
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -3,8 +3,8 @@
Subprocess
==========
-Create a subproces
-------------------
+Create a subprocess
+-------------------
.. function:: create_subprocess_shell(cmd, stdin=None, stdout=None, stderr=None, loop=None, limit=None, \*\*kwds)
@@ -116,7 +116,7 @@
Kills the child. On Posix OSs the function sends :py:data:`SIGKILL` to
the child. On Windows :meth:`kill` is an alias for :meth:`terminate`.
- .. method:: send_signal(signale)
+ .. method:: send_signal(signal)
Sends the signal *signal* to the child process.
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -111,7 +111,7 @@
loop.close()
``compute()`` is chained to ``print_sum()``: ``print_sum()`` coroutine waits
-until ``compute()`` is completed before returing its result.
+until ``compute()`` is completed before returning its result.
Sequence diagram of the example:
@@ -315,7 +315,7 @@
The frames are always ordered from oldest to newest.
- The optional limit gives the maximum nummber of frames to return; by
+ The optional limit gives the maximum number of frames to return; by
default all available frames are returned. Its meaning differs depending
on whether a stack or a traceback is returned: the newest frames of a
stack are returned, but the oldest frames of a traceback are returned.
diff --git a/Doc/library/asyncio.rst b/Doc/library/asyncio.rst
--- a/Doc/library/asyncio.rst
+++ b/Doc/library/asyncio.rst
@@ -24,7 +24,7 @@
* concrete support for TCP, UDP, SSL, subprocess pipes, delayed calls, and
others (some may be system-dependent);
-* a :class:`Future` class that mimicks the one in the :mod:`concurrent.futures`
+* a :class:`Future` class that mimics the one in the :mod:`concurrent.futures`
module, but adapted for use with the event loop;
* coroutines and tasks based on ``yield from`` (:PEP:`380`), to help write
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list