atexit.py doesn't exist

This commit is contained in:
Antoine Pitrou 2011-01-07 18:42:21 +00:00
parent 39e352cb46
commit 1bdd6fd7c7

View file

@ -11,11 +11,6 @@ The :mod:`atexit` module defines functions to register and unregister cleanup
functions. Functions thus registered are automatically executed upon normal functions. Functions thus registered are automatically executed upon normal
interpreter termination. interpreter termination.
.. seealso::
Latest version of the :source:`atexit Python source code
<Lib/atexit.py>`
Note: the functions registered via this module are not called when the program Note: the functions registered via this module are not called when the program
is killed by a signal not handled by Python, when a Python fatal internal error is killed by a signal not handled by Python, when a Python fatal internal error
is detected, or when :func:`os._exit` is called. is detected, or when :func:`os._exit` is called.
@ -103,3 +98,4 @@ Usage as a :term:`decorator`::
This obviously only works with functions that don't take arguments. This obviously only works with functions that don't take arguments.