[Python-checkins] cpython (3.5): Issue #28738: Document SIGBREAK as an acceptable value on Windows

berker.peksag python-checkins at python.org
Fri Nov 25 11:47:41 EST 2016


https://hg.python.org/cpython/rev/dddce0f539dd
changeset:   105364:dddce0f539dd
branch:      3.5
parent:      105353:5d83b6a9b568
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Fri Nov 25 19:46:57 2016 +0300
summary:
  Issue #28738: Document SIGBREAK as an acceptable value on Windows

Patch by Wojtek Ruszczewski.

files:
  Doc/library/signal.rst |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -350,8 +350,9 @@
    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.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list