summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-11-25 16:46:57 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-11-25 16:46:57 (GMT)
commit219a012156e198ea5601a26d6e9a31f25ab98b70 (patch)
tree6f396cb7144d13a893e091565145910866cf64e4 /Doc
parenta860286eab61271c300958146c026ee008e57988 (diff)
downloadcpython-219a012156e198ea5601a26d6e9a31f25ab98b70.zip
cpython-219a012156e198ea5601a26d6e9a31f25ab98b70.tar.gz
cpython-219a012156e198ea5601a26d6e9a31f25ab98b70.tar.bz2
Issue #28738: Document SIGBREAK as an acceptable value on Windows
Patch by Wojtek Ruszczewski.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/signal.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index 61252ce..039b666 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -350,8 +350,9 @@ The :mod:`signal` module defines the following functions:
attribute descriptions in the :mod:`inspect` module).
On Windows, :func:`signal` can only be called with :const:`SIGABRT`,
- :const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`, or
- :const:`SIGTERM`. A :exc:`ValueError` will be raised in any other case.
+ :const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`,
+ :const:`SIGTERM`, or :const:`SIGBREAK`.
+ A :exc:`ValueError` will be raised in any other case.
Note that not all systems define the same set of signal names; an
:exc:`AttributeError` will be raised if a signal name is not defined as
``SIG*`` module level constant.