functions. Functions thus registered are automatically executed upon normal
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
is killed by a signal not handled by Python, when a Python fatal internal error
is detected, or when :func:`os._exit` is called.
This obviously only works with functions that don't take arguments.
+