Trees | Indices | Help |
|
---|
|
atexit.py - allow programmer to define multiple exit functions to be executed upon normal program termination.
One public function, register, is defined.
|
|||
|
|||
|
|
|||
_exithandlers =
|
Imports: sys
|
run any registered exit functions _exithandlers is traversed in reverse order so functions are executed last in, first out. |
register a function to be executed upon normal program termination func - function to be called at exit targs - optional arguments to pass to func kargs - optional keyword arguments to pass to func |
|
_exithandlers
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Jan 29 22:40:27 2008 | http://epydoc.sourceforge.net |