diff options
author | Julien Palard <julien@palard.fr> | 2019-05-07 15:27:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 15:27:48 (GMT) |
commit | e85ef7a7eacdef2f43e6bf2e67f335100e7ef2da (patch) | |
tree | 166570cca06a633a139093475147b9967f9ac2c4 | |
parent | 5765ecf79fcee987f2f97c246c64b494324dfd33 (diff) | |
download | cpython-e85ef7a7eacdef2f43e6bf2e67f335100e7ef2da.zip cpython-e85ef7a7eacdef2f43e6bf2e67f335100e7ef2da.tar.gz cpython-e85ef7a7eacdef2f43e6bf2e67f335100e7ef2da.tar.bz2 |
bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)
-rw-r--r-- | Doc/library/signal.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index ac6cad9..01200b4 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 |