From: Berker Peksag Date: Fri, 25 Nov 2016 16:46:57 +0000 (+0300) Subject: Issue #28738: Document SIGBREAK as an acceptable value on Windows X-Git-Tag: v3.6.0rc1~29^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=219a012156e198ea5601a26d6e9a31f25ab98b70;p=python Issue #28738: Document SIGBREAK as an acceptable value on Windows Patch by Wojtek Ruszczewski. --- diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index 61252ce4e8..039b666475 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.