Skip to content

Commit aca819f

Browse files
kbumsik1st1
authored andcommitted
bpo-33649: Fix doc to reflect changes in 47cd10d (or bpo-23347) (GH-9219)
1 parent 9dfa0fe commit aca819f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/asyncio-protocol.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,15 +406,14 @@ Subprocess Transports
406406
.. method:: SubprocessTransport.terminate()
407407

408408
Ask the subprocess to stop, as in :meth:`subprocess.Popen.terminate`.
409-
This method is an alias for the :meth:`close` method.
410409

411410
On POSIX systems, this method sends SIGTERM to the subprocess.
412411
On Windows, the Windows API function TerminateProcess() is called to
413412
stop the subprocess.
414413

415414
.. method:: SubprocessTransport.close()
416415

417-
Ask the subprocess to stop by calling the :meth:`terminate` method
416+
Kill the subprocess by calling the :meth:`kill` method
418417
if the subprocess hasn't returned yet, and close transports of all
419418
pipes (*stdin*, *stdout* and *stderr*).
420419

0 commit comments

Comments
 (0)