diff options
| author | Raymond Hettinger <python@rcn.com> | 2004-08-18 02:50:00 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2004-08-18 02:50:00 +0000 |
| commit | 01884d56f40fb0f44b410f9a61fad638996a0d8d (patch) | |
| tree | badc99a9730a23d49c9dab0a12a6b2e92c3964f1 /Doc/lib/libsys.tex | |
| parent | 0ccff074cd806bc7e963a1e0ff6ce25e0d11cce9 (diff) | |
| download | cpython-git-01884d56f40fb0f44b410f9a61fad638996a0d8d.tar.gz | |
Deprecate sys.exitfunc in favor of the atexit module.
Per Guido, sys.exitfunc will be kept around for backwards compatability
but atexit will become the one preferred way to do it.
Diffstat (limited to 'Doc/lib/libsys.tex')
| -rw-r--r-- | Doc/lib/libsys.tex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 2cac03e98a..a3971b6739 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -195,6 +195,7 @@ It is always available. module. \note{The exit function is 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.} + \deprecated{2.4}{Use \refmodule{atexit} instead.} \end{datadesc} \begin{funcdesc}{getcheckinterval}{} |
