-
Notifications
You must be signed in to change notification settings - Fork 0
m-r-r/atcrashes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME atcrashes FILE atcrashes.py DESCRIPTION atcrashes.py - allow programmer to define multiple functions to be executed upon anormal program termination. FUNCTIONS register(func, *args, **kwargs) register a function to be executed upon normal program termination func - function to be called if the program crash args - optional arguments to pass to func kwargs - optional keyword arguments to pass to func func is returned to facilitate usage as a decorator. DATA __all__ = ['register']