From 219a012156e198ea5601a26d6e9a31f25ab98b70 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 25 Nov 2016 19:46:57 +0300 Subject: Issue #28738: Document SIGBREAK as an acceptable value on Windows Patch by Wojtek Ruszczewski. --- Doc/library/signal.rst | 5 +++-- 1 file 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. -- cgit v0.12