summaryrefslogtreecommitdiff
path: root/Doc/lib/libatexit.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libatexit.tex')
-rw-r--r--Doc/lib/libatexit.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libatexit.tex b/Doc/lib/libatexit.tex
index c9775d1b6d..922f5d4373 100644
--- a/Doc/lib/libatexit.tex
+++ b/Doc/lib/libatexit.tex
@@ -39,6 +39,12 @@ completes), all functions registered are called in last in, first out
order. The assumption is that lower level modules will normally be
imported before higher level modules and thus must be cleaned up
later.
+
+If an exception is raised during execution of the exit handlers, a traceback
+is printed (unless SystemExit is raised) and the exception information is
+saved. After all exit handlers have had a chance to run the last exception
+to be raised is reraised.
+
\end{funcdesc}