summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtraceback.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libtraceback.tex')
-rw-r--r--Doc/lib/libtraceback.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libtraceback.tex b/Doc/lib/libtraceback.tex
index 9778c83..eee898e 100644
--- a/Doc/lib/libtraceback.tex
+++ b/Doc/lib/libtraceback.tex
@@ -48,6 +48,11 @@ information in a thread-safe way instead of using the deprecated
variables.)
\end{funcdesc}
+\begin{funcdesc}{format_exc}{\optional{limit\optional{, file}}}
+This is like \code{print_exc(\var{limit})} but returns a string
+instead of printing to a file.
+\end{funcdesc}
+
\begin{funcdesc}{print_last}{\optional{limit\optional{, file}}}
This is a shorthand for \code{print_exception(sys.last_type,
sys.last_value, sys.last_traceback, \var{limit}, \var{file})}.