Kaydet (Commit) 01884d56 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

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.
üst 0ccff074
...@@ -195,6 +195,7 @@ It is always available. ...@@ -195,6 +195,7 @@ It is always available.
module. \note{The exit function is not called when the program is module. \note{The exit function is not called when the program is
killed by a signal, when a Python fatal internal error is detected, killed by a signal, when a Python fatal internal error is detected,
or when \code{os._exit()} is called.} or when \code{os._exit()} is called.}
\deprecated{2.4}{Use \refmodule{atexit} instead.}
\end{datadesc} \end{datadesc}
\begin{funcdesc}{getcheckinterval}{} \begin{funcdesc}{getcheckinterval}{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment