summaryrefslogtreecommitdiff
path: root/Doc/lib/libatexit.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-06 04:51:04 +0000
committerFred Drake <fdrake@acm.org>2000-07-06 04:51:04 +0000
commit3c62d9e65651a505072df7a760e4876d45d4814a (patch)
tree220cddfe2462caff7354d9b2796cba0ee4dfb4d9 /Doc/lib/libatexit.tex
parent14ea85f325ad84400be86de02f60beebaa36cc53 (diff)
downloadcpython-git-3c62d9e65651a505072df7a760e4876d45d4814a.tar.gz
Several small changes, mostly to the markup, to improve consistency and
internal hyperlinking. Move some things around, also for consistency with other modules ("See also" stuff tends to live at the \section level, before sub-sections, etc.).
Diffstat (limited to 'Doc/lib/libatexit.tex')
-rw-r--r--Doc/lib/libatexit.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/lib/libatexit.tex b/Doc/lib/libatexit.tex
index d06024b450..a30c175433 100644
--- a/Doc/lib/libatexit.tex
+++ b/Doc/lib/libatexit.tex
@@ -1,5 +1,5 @@
\section{\module{atexit} ---
- exit handlers}
+ Exit handlers}
\declaremodule{standard}{atexit}
\moduleauthor{Skip Montanaro}{skip@mojam.com}
@@ -14,7 +14,7 @@ executed upon normal interpreter termination.
Note: the functions registered via this module are not called when the program is killed by a
signal, when a Python fatal internal error is detected, or when
-\code{os._exit()} is called.
+\function{os._exit()} is called.
This is an alternate interface to the functionality provided by the
\code{sys.exitfunc} variable.
@@ -67,7 +67,8 @@ import atexit
atexit.register(savecounter)
\end{verbatim}
+
\begin{seealso}
- \seemodule{readline}{useful example of atexit to read and write readline
- history files}
+ \seemodule{readline}{Useful example of atexit to read and write
+ \refmodule{readline} history files.}
\end{seealso}