# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ allow programmer to define multiple exit functions to be executed upon normal program termination. Two public functions, register and unregister, are defined. """ __doc__ = """allow programmer to define multiple exit functions to be executed upon normal program termination. Two public functions, register and unregister, are defined. """ class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ _ORIGIN = 'built-in' def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module() instead. """ pass __name__ = 'atexit' __package__ = '' __spec__ = None def _clear(): """ Clear the list of previously registered exit functions. """ pass def _ncallbacks(): """ Return the number of registered exit functions. """ pass def _run_exitfuncs(): """ Run all registered exit functions. If a callback raises an exception, it is logged with sys.unraisablehook. """ pass def register(func, *args, **kwargs): """ Register a function to be executed upon normal program termination func - function to be called at exit args - optional arguments to pass to func kwargs - optional keyword arguments to pass to func func is returned to facilitate usage as a decorator. """ pass def unregister(func): """ Unregister an exit function which was previously registered using atexit.register func - function to be unregistered """ pass