summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst5
-rw-r--r--Doc/whatsnew/3.9.rst6
2 files changed, 11 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index fe9531b..8e9d9e6 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3946,8 +3946,10 @@ written in Python, such as a mail server's external command delivery program.
.. data:: CLD_EXITED
+ CLD_KILLED
CLD_DUMPED
CLD_TRAPPED
+ CLD_STOPPED
CLD_CONTINUED
These are the possible values for :attr:`si_code` in the result returned by
@@ -3957,6 +3959,9 @@ written in Python, such as a mail server's external command delivery program.
.. versionadded:: 3.3
+ .. versionchanged:: 3.9
+ Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values.
+
.. function:: waitpid(pid, options)
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 6b4abc0..f203930 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -125,6 +125,12 @@ that schedules a shutdown for the default executor that waits on the
:func:`asyncio.run` has been updated to use the new :term:`coroutine`.
(Contributed by Kyle Stanley in :issue:`34037`.)
+os
+__
+
+Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:`si_code`.
+(Contributed by Dong-hee Na in :issue:`38493`.)
+
threading
---------