summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/signal.rst8
-rw-r--r--Misc/NEWS3
2 files changed, 9 insertions, 2 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index 7b40e8e..a3d562b 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -76,7 +76,9 @@ The variables defined in the :mod:`signal` module are:
.. data:: CTRL_C_EVENT
- The signal corresponding to the CTRL+C keystroke event.
+ The signal corresponding to the CTRL+C keystroke event. This signal can
+ only be used with :func:`os.kill`.
+
Availability: Windows.
.. versionadded:: 3.2
@@ -84,7 +86,9 @@ The variables defined in the :mod:`signal` module are:
.. data:: CTRL_BREAK_EVENT
- The signal corresponding to the CTRL+BREAK keystroke event.
+ The signal corresponding to the CTRL+BREAK keystroke event. This signal can
+ only be used with :func:`os.kill`.
+
Availability: Windows.
.. versionadded:: 3.2
diff --git a/Misc/NEWS b/Misc/NEWS
index fe93e4e..abcb9d8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1849,6 +1849,9 @@ Build
Documentation
------------
+- Issue #9524: Document that two CTRL* signals are meant for use only
+ with os.kill.
+
- Issue #9255: Document that the 'test' package is meant for internal Python use
only.