diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-09-23 09:06:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-09-23 09:06:21 (GMT) |
commit | a3ff101e6a4b0a14da0388c612d1e2f3c120a959 (patch) | |
tree | 6f4961e429730b419acb86e4880e3f7034c3c0aa /Doc | |
parent | 752a2241eab92d223b4f803c1cd20494bf17e799 (diff) | |
download | cpython-a3ff101e6a4b0a14da0388c612d1e2f3c120a959.zip cpython-a3ff101e6a4b0a14da0388c612d1e2f3c120a959.tar.gz cpython-a3ff101e6a4b0a14da0388c612d1e2f3c120a959.tar.bz2 |
Issue #5969: faulthandler module: rename dump_tracebacks_later() to
dump_traceback_later() and cancel_dump_tracebacks_later() to
cancel_dump_traceback_later().
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/faulthandler.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index b079b30..3c33621 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -71,7 +71,7 @@ Fault handler state Dump the tracebacks after a timeout ----------------------------------- -.. function:: dump_tracebacks_later(timeout, repeat=False, file=sys.stderr, exit=False) +.. function:: dump_traceback_later(timeout, repeat=False, file=sys.stderr, exit=False) Dump the tracebacks of all threads, after a timeout of *timeout* seconds, or every *timeout* seconds if *repeat* is ``True``. If *exit* is ``True``, call @@ -84,9 +84,9 @@ Dump the tracebacks after a timeout This function is implemented using a watchdog thread and therefore is not available if Python is compiled with threads disabled. -.. function:: cancel_dump_tracebacks_later() +.. function:: cancel_dump_traceback_later() - Cancel the last call to :func:`dump_tracebacks_later`. + Cancel the last call to :func:`dump_traceback_later`. Dump the traceback on a user signal @@ -112,7 +112,7 @@ Dump the traceback on a user signal File descriptor issue --------------------- -:func:`enable`, :func:`dump_tracebacks_later` and :func:`register` keep the +:func:`enable`, :func:`dump_traceback_later` and :func:`register` keep the file descriptor of their *file* argument. If the file is closed and its file descriptor is reused by a new file, or if :func:`os.dup2` is used to replace the file descriptor, the traceback will be written into a different file. Call |