diff options
author | Georg Brandl <georg@python.org> | 2012-09-22 06:58:55 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-09-22 06:58:55 (GMT) |
commit | deb92b5b1b015191bb9f072b67536e471bd37a7a (patch) | |
tree | e87fc585f0da03fa0862f7ed55fbc74c29ce6d06 /Doc | |
parent | ebf7f957d75bfa0e0f0c68019c8ed3616bef0c6c (diff) | |
download | cpython-deb92b5b1b015191bb9f072b67536e471bd37a7a.zip cpython-deb92b5b1b015191bb9f072b67536e471bd37a7a.tar.gz cpython-deb92b5b1b015191bb9f072b67536e471bd37a7a.tar.bz2 |
Closes #15969: rename new API to have consistent names in the faulthandler module.
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 |