We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5765ecf commit e85ef7aCopy full SHA for e85ef7a
Doc/library/signal.rst
@@ -16,7 +16,8 @@ The :func:`signal.signal` function allows defining custom handlers to be
16
executed when a signal is received. A small number of default handlers are
17
installed: :const:`SIGPIPE` is ignored (so write errors on pipes and sockets
18
can be reported as ordinary Python exceptions) and :const:`SIGINT` is
19
-translated into a :exc:`KeyboardInterrupt` exception.
+translated into a :exc:`KeyboardInterrupt` exception if the parent process
20
+has not changed it.
21
22
A handler for a particular signal, once set, remains installed until it is
23
explicitly reset (Python emulates the BSD style interface regardless of the
0 commit comments