Spelling corrections. Submitted to python-dev by python@mrabarnett.plus.com
This commit is contained in:
parent
87bf2772be
commit
a1afeec9aa
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue