Skip to content

Commit 3fa9191

Browse files
Fix awkward sentence in signal docs (GH-91508)
Co-authored-by: Jelle Zijlstra <[email protected]> (cherry picked from commit 326ae71) Co-authored-by: AJ Jordan <[email protected]>
1 parent 6cf86fc commit 3fa9191

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Doc/library/signal.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,11 @@ case, wrap your entry point to catch this exception as follows::
676676
if __name__ == '__main__':
677677
main()
678678

679-
Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL`
680-
in order to avoid :exc:`BrokenPipeError`. Doing that would cause
681-
your program to exit unexpectedly also whenever any socket connection
682-
is interrupted while your program is still writing to it.
679+
Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL` in
680+
order to avoid :exc:`BrokenPipeError`. Doing that would cause
681+
your program to exit unexpectedly whenever any socket
682+
connection is interrupted while your program is still writing to
683+
it.
683684

684685
.. _handlers-and-exceptions:
685686

0 commit comments

Comments
 (0)