Kaydet (Commit) aca819fb authored tarafından Bumsik Kim's avatar Bumsik Kim Kaydeden (comit) Yury Selivanov

bpo-33649: Fix doc to reflect changes in 47cd10d7 (or bpo-23347) (GH-9219)

üst 9dfa0fe5
...@@ -406,7 +406,6 @@ Subprocess Transports ...@@ -406,7 +406,6 @@ Subprocess Transports
.. method:: SubprocessTransport.terminate() .. method:: SubprocessTransport.terminate()
Ask the subprocess to stop, as in :meth:`subprocess.Popen.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 POSIX systems, this method sends SIGTERM to the subprocess.
On Windows, the Windows API function TerminateProcess() is called to On Windows, the Windows API function TerminateProcess() is called to
...@@ -414,7 +413,7 @@ Subprocess Transports ...@@ -414,7 +413,7 @@ Subprocess Transports
.. method:: SubprocessTransport.close() .. 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 if the subprocess hasn't returned yet, and close transports of all
pipes (*stdin*, *stdout* and *stderr*). pipes (*stdin*, *stdout* and *stderr*).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment