Kaydet (Commit) 734de68d authored tarafından Georg Brandl's avatar Georg Brandl

Fix-up docs for revision 62386.

üst e74c8f28
...@@ -215,7 +215,9 @@ Instances of the :class:`Popen` class have the following methods: ...@@ -215,7 +215,9 @@ Instances of the :class:`Popen` class have the following methods:
.. note:: .. note::
On Windows only SIGTERM is supported so far. It's an alias for On Windows only SIGTERM is supported so far. It's an alias for
*terminate*. :meth:`terminate`.
.. versionadded:: 2.6
.. method:: Popen.terminate() .. method:: Popen.terminate()
...@@ -224,11 +226,15 @@ Instances of the :class:`Popen` class have the following methods: ...@@ -224,11 +226,15 @@ Instances of the :class:`Popen` class have the following methods:
child. On Windows the Win32 API function TerminateProcess is called child. On Windows the Win32 API function TerminateProcess is called
to stop the child. to stop the child.
.. versionadded:: 2.6
.. method:: Popen.kill() .. method:: Popen.kill()
Kills the child. On Posix OSs the function sends SIGKILL to the child. Kills the child. On Posix OSs the function sends SIGKILL to the child.
On Windows *kill* is an alias for *terminate*. On Windows :meth:`kill` is an alias for :meth:`terminate`.
.. versionadded:: 2.6
The following attributes are also available: The following attributes are also available:
......
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