[Python-checkins] Fix awkward sentence in signal docs (#91508)
JelleZijlstra
webhook-mailer at python.org
Tue Apr 19 21:20:29 EDT 2022
https://github.com/python/cpython/commit/326ae71f1d93c12100150baa1173ea7ce7a96ea0
commit: 326ae71f1d93c12100150baa1173ea7ce7a96ea0
branch: main
author: AJ Jordan <alex at strugee.net>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-04-19T18:20:25-07:00
summary:
Fix awkward sentence in signal docs (#91508)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>
files:
M Doc/library/signal.rst
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index c276b52ca4d20..fdc9846f6642a 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:
More information about the Python-checkins
mailing list