File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -711,10 +711,11 @@ case, wrap your entry point to catch this exception as follows::
711
711
if __name__ == '__main__':
712
712
main()
713
713
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.
718
719
719
720
.. _handlers-and-exceptions :
720
721
You can’t perform that action at this time.
0 commit comments