summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAJ Jordan <alex@strugee.net>2022-04-20 01:20:25 (GMT)
committerGitHub <noreply@github.com>2022-04-20 01:20:25 (GMT)
commit326ae71f1d93c12100150baa1173ea7ce7a96ea0 (patch)
tree389e9b8cd58fe2cfe61afe27044f8d386b381cce /Doc
parentb6d5e3c3c92374598b327918c8e66e748a1a92a0 (diff)
downloadcpython-326ae71f1d93c12100150baa1173ea7ce7a96ea0.zip
cpython-326ae71f1d93c12100150baa1173ea7ce7a96ea0.tar.gz
cpython-326ae71f1d93c12100150baa1173ea7ce7a96ea0.tar.bz2
Fix awkward sentence in signal docs (#91508)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/signal.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index c276b52..fdc9846 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -711,10 +711,11 @@ case, wrap your entry point to catch this exception as follows::
if __name__ == '__main__':
main()
-Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL`
-in order to avoid :exc:`BrokenPipeError`. Doing that would cause
-your program to exit unexpectedly also whenever any socket connection
-is interrupted while your program is still writing to it.
+Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL` in
+order to avoid :exc:`BrokenPipeError`. Doing that would cause
+your program to exit unexpectedly whenever any socket
+connection is interrupted while your program is still writing to
+it.
.. _handlers-and-exceptions: