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 @@ -676,10 +676,11 @@ case, wrap your entry point to catch this exception as follows::
676
676
if __name__ == '__main__':
677
677
main()
678
678
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.
683
684
684
685
.. _handlers-and-exceptions :
685
686
You can’t perform that action at this time.
0 commit comments