From 01884d56f40fb0f44b410f9a61fad638996a0d8d Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 18 Aug 2004 02:50:00 +0000 Subject: 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. --- Doc/lib/libsys.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 2cac03e..a3971b6 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}{} -- cgit v0.12