diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-20 01:38:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 01:38:15 (GMT) |
commit | f92aa4fde1728ed47dd6dc64206dcdcabd81d1fc (patch) | |
tree | d279e990c9c4dc5ccc52119ca02ae45a0a0c9803 /Doc/library/signal.rst | |
parent | e08d32381d749bc4f3e4302e067076fa8c4e0661 (diff) | |
download | cpython-f92aa4fde1728ed47dd6dc64206dcdcabd81d1fc.zip cpython-f92aa4fde1728ed47dd6dc64206dcdcabd81d1fc.tar.gz cpython-f92aa4fde1728ed47dd6dc64206dcdcabd81d1fc.tar.bz2 |
Fix awkward sentence in signal docs (GH-91508)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 326ae71f1d93c12100150baa1173ea7ce7a96ea0)
Co-authored-by: AJ Jordan <alex@strugee.net>
Diffstat (limited to 'Doc/library/signal.rst')
-rw-r--r-- | Doc/library/signal.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index 11bdfc8..0aa5996 100644 --- a/Doc/library/signal.rst +++ b/Doc/library/signal.rst @@ -676,10 +676,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: |