summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-protocol.rst
diff options
context:
space:
mode:
authorBumsik Kim <k.bumsik@gmail.com>2018-09-12 18:31:56 (GMT)
committerYury Selivanov <yury@magic.io>2018-09-12 18:31:56 (GMT)
commitaca819fb494d4801b3e5b5b507b17cab772c1b40 (patch)
treecfde88b3d3d7a0d40088f268265367f15083ab18 /Doc/library/asyncio-protocol.rst
parent9dfa0fe587eae3626ffc973680c6a17f35de3864 (diff)
downloadcpython-aca819fb494d4801b3e5b5b507b17cab772c1b40.zip
cpython-aca819fb494d4801b3e5b5b507b17cab772c1b40.tar.gz
cpython-aca819fb494d4801b3e5b5b507b17cab772c1b40.tar.bz2
bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219)
Diffstat (limited to 'Doc/library/asyncio-protocol.rst')
-rw-r--r--Doc/library/asyncio-protocol.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 348ced5..84a275e 100644
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -406,7 +406,6 @@ Subprocess Transports
.. method:: SubprocessTransport.terminate()
Ask the subprocess to stop, as in :meth:`subprocess.Popen.terminate`.
- This method is an alias for the :meth:`close` method.
On POSIX systems, this method sends SIGTERM to the subprocess.
On Windows, the Windows API function TerminateProcess() is called to
@@ -414,7 +413,7 @@ Subprocess Transports
.. method:: SubprocessTransport.close()
- Ask the subprocess to stop by calling the :meth:`terminate` method
+ Kill the subprocess by calling the :meth:`kill` method
if the subprocess hasn't returned yet, and close transports of all
pipes (*stdin*, *stdout* and *stderr*).