mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
0ccff074cd
commit
01884d56f4
|
@ -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}{}
|
||||
|
|
Loading…
Reference in New Issue