From: Bumsik Kim Date: Wed, 12 Sep 2018 18:31:56 +0000 (-0400) Subject: bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219) X-Git-Tag: v3.8.0a1~1030 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aca819fb494d4801b3e5b5b507b17cab772c1b40;p=thirdparty%2FPython%2Fcpython.git bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219) --- 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*).