mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue