]> granicus.if.org Git - python/commitdiff
bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)
authorJulien Palard <julien@palard.fr>
Tue, 7 May 2019 15:27:48 +0000 (17:27 +0200)
committerGitHub <noreply@github.com>
Tue, 7 May 2019 15:27:48 +0000 (17:27 +0200)
Doc/library/signal.rst

index ac6cad9aff8e971a014f7235a27c256e981861b9..01200b4df8803e7e55812785bee0043b7198e4b7 100644 (file)
@@ -16,7 +16,8 @@ The :func:`signal.signal` function allows defining custom handlers to be
 executed when a signal is received.  A small number of default handlers are
 installed: :const:`SIGPIPE` is ignored (so write errors on pipes and sockets
 can be reported as ordinary Python exceptions) and :const:`SIGINT` is
-translated into a :exc:`KeyboardInterrupt` exception.
+translated into a :exc:`KeyboardInterrupt` exception if the parent process
+has not changed it.
 
 A handler for a particular signal, once set, remains installed until it is
 explicitly reset (Python emulates the BSD style interface regardless of the