Skip to content

Commit 326ae71

Browse files
Fix awkward sentence in signal docs (#91508)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent b6d5e3c commit 326ae71

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
@@ -711,10 +711,11 @@ case, wrap your entry point to catch this exception as follows::
711711
if __name__ == '__main__':
712712
main()
713713

714-
Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL`
715-
in order to avoid :exc:`BrokenPipeError`. Doing that would cause
716-
your program to exit unexpectedly also whenever any socket connection
717-
is interrupted while your program is still writing to it.
714+
Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL` in
715+
order to avoid :exc:`BrokenPipeError`. Doing that would cause
716+
your program to exit unexpectedly whenever any socket
717+
connection is interrupted while your program is still writing to
718+
it.
718719

719720
.. _handlers-and-exceptions:
720721

0 commit comments

Comments
 (0)