summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-08-05 18:56:00 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-08-05 18:56:00 (GMT)
commitf045d775fd900a4cc4da027e37a50ab984d18ce7 (patch)
tree3d20a04890d64f7fe75dc7b31248fe7092a0ad9c
parent6fc4ade2bb44a176555703ebc2dbfb54b57e1148 (diff)
downloadcpython-f045d775fd900a4cc4da027e37a50ab984d18ce7.zip
cpython-f045d775fd900a4cc4da027e37a50ab984d18ce7.tar.gz
cpython-f045d775fd900a4cc4da027e37a50ab984d18ce7.tar.bz2
Issue #9524: Document that two CTRL* signals are meant for use only
with os.kill.
-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.