Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 219a012

Browse files
committed
Issue #28738: Document SIGBREAK as an acceptable value on Windows
Patch by Wojtek Ruszczewski.
1 parent a860286 commit 219a012

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/library/signal.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,9 @@ The :mod:`signal` module defines the following functions:
350350
attribute descriptions in the :mod:`inspect` module).
351351

352352
On Windows, :func:`signal` can only be called with :const:`SIGABRT`,
353-
:const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`, or
354-
:const:`SIGTERM`. A :exc:`ValueError` will be raised in any other case.
353+
:const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`,
354+
:const:`SIGTERM`, or :const:`SIGBREAK`.
355+
A :exc:`ValueError` will be raised in any other case.
355356
Note that not all systems define the same set of signal names; an
356357
:exc:`AttributeError` will be raised if a signal name is not defined as
357358
``SIG*`` module level constant.

0 commit comments

Comments
 (0)