diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/faulthandler.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index b203d37..34b4ed4 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -78,9 +78,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_traceback_later() +.. function:: cancel_dump_tracebacks_later() - Cancel the last call to :func:`dump_traceback_later`. + Cancel the last call to :func:`dump_tracebacks_later`. Dump the traceback on a user signal @@ -105,7 +105,7 @@ Dump the traceback on a user signal File descriptor issue --------------------- -:func:`enable`, :func:`dump_traceback_later` and :func:`register` keep the +:func:`enable`, :func:`dump_tracebacks_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 |