diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-13 23:39:53 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-13 23:39:53 +0200 |
commit | 617becae4ff6683c09c1b658bc084eff287c78d1 (patch) | |
tree | 8b0b45f28c47fbcdbc3413808b8b71720fb3a671 /Doc/library/faulthandler.rst | |
parent | f677b0337ab9b12c08f195ba0e2937143a44061b (diff) | |
download | cpython-617becae4ff6683c09c1b658bc084eff287c78d1.tar.gz |
Issue #12550: Add chain optional argument to faulthandler.register()
Call the previous signal handler if chain is True.
Diffstat (limited to 'Doc/library/faulthandler.rst')
-rw-r--r-- | Doc/library/faulthandler.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index 3e75c60a6f..c9b954677d 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -92,11 +92,11 @@ Dump the tracebacks after a timeout Dump the traceback on a user signal ----------------------------------- -.. function:: register(signum, file=sys.stderr, all_threads=True) +.. function:: register(signum, file=sys.stderr, all_threads=True, chain=False) Register a user signal: install a handler for the *signum* signal to dump the traceback of all threads, or of the current thread if *all_threads* is - ``False``, into *file*. + ``False``, into *file*. Call the previous handler if chain is ``True``. Not available on Windows. |