[Python-checkins] bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)
Julien Palard
webhook-mailer at python.org
Tue May 7 11:27:53 EDT 2019
https://github.com/python/cpython/commit/e85ef7a7eacdef2f43e6bf2e67f335100e7ef2da
commit: e85ef7a7eacdef2f43e6bf2e67f335100e7ef2da
branch: master
author: Julien Palard <julien at palard.fr>
committer: GitHub <noreply at github.com>
date: 2019-05-07T17:27:48+02:00
summary:
bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)
files:
M Doc/library/signal.rst
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index ac6cad9aff8e..01200b4df880 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -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
More information about the Python-checkins
mailing list