summaryrefslogtreecommitdiffstats
path: root/Doc/library/faulthandler.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-31 01:42:34 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-31 01:42:34 (GMT)
commit702624ecf7fa0b7247b2bd07962db30d3e53885d (patch)
treec389876db74f1a7afc483556456f274778ba1059 /Doc/library/faulthandler.rst
parent3c7c355e67562aba62fbd84d91e0bd14660eeab8 (diff)
downloadcpython-702624ecf7fa0b7247b2bd07962db30d3e53885d.zip
cpython-702624ecf7fa0b7247b2bd07962db30d3e53885d.tar.gz
cpython-702624ecf7fa0b7247b2bd07962db30d3e53885d.tar.bz2
Issue #11393: Fix the documentation (cancel_dump_traceback_later)
* dump_traceback_later() => dump_tracebacks_later() * cancel_dump_traceback_later() => cancel_dump_tracebacks_later()
Diffstat (limited to 'Doc/library/faulthandler.rst')
-rw-r--r--Doc/library/faulthandler.rst6
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