diff options
author | Brian Curtin <brian@python.org> | 2014-02-09 00:36:14 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2014-02-09 00:36:14 (GMT) |
commit | a1afeec9aa4039f5b03a6513b63847bdfecb4c4d (patch) | |
tree | a4da92b615ece3be63eb50eb0f4e36aac6e12f3c /Doc | |
parent | 87bf2772be6138044c79011ad1a4daf91dc08a7f (diff) | |
download | cpython-a1afeec9aa4039f5b03a6513b63847bdfecb4c4d.zip cpython-a1afeec9aa4039f5b03a6513b63847bdfecb4c4d.tar.gz cpython-a1afeec9aa4039f5b03a6513b63847bdfecb4c4d.tar.bz2 |
Spelling corrections. Submitted to python-dev by python@mrabarnett.plus.com
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-protocol.rst | 2 | ||||
-rw-r--r-- | Doc/library/asyncio-subprocess.rst | 6 | ||||
-rw-r--r-- | Doc/library/asyncio-task.rst | 4 | ||||
-rw-r--r-- | 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 index 5fcce94..dabe7d8 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -194,7 +194,7 @@ BaseSubprocessTransport .. 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 index 3d176f1..a2c46dc 100644 --- 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 @@ Process 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 index cfad0bc..4b2753a 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -111,7 +111,7 @@ Example chaining coroutines:: 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 @@ Task 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 index 542f476..e6ea89b 100644 --- a/Doc/library/asyncio.rst +++ b/Doc/library/asyncio.rst @@ -24,7 +24,7 @@ Here is a more detailed list of the package contents: * 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 |