[Python-checkins] bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219)
Yury Selivanov
webhook-mailer at python.org
Wed Sep 12 14:32:01 EDT 2018
https://github.com/python/cpython/commit/aca819fb494d4801b3e5b5b507b17cab772c1b40
commit: aca819fb494d4801b3e5b5b507b17cab772c1b40
branch: master
author: Bumsik Kim <k.bumsik at gmail.com>
committer: Yury Selivanov <yury at magic.io>
date: 2018-09-12T11:31:56-07:00
summary:
bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219)
files:
M Doc/library/asyncio-protocol.rst
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 348ced57772f..84a275e0d0b6 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*).
More information about the Python-checkins
mailing list