Skip to content

Commit e85ef7a

Browse files
authored
bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)
1 parent 5765ecf commit e85ef7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/signal.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ The :func:`signal.signal` function allows defining custom handlers to be
1616
executed when a signal is received. A small number of default handlers are
1717
installed: :const:`SIGPIPE` is ignored (so write errors on pipes and sockets
1818
can be reported as ordinary Python exceptions) and :const:`SIGINT` is
19-
translated into a :exc:`KeyboardInterrupt` exception.
19+
translated into a :exc:`KeyboardInterrupt` exception if the parent process
20+
has not changed it.
2021

2122
A handler for a particular signal, once set, remains installed until it is
2223
explicitly reset (Python emulates the BSD style interface regardless of the

0 commit comments

Comments
 (0)