diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-14 18:09:23 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-14 18:09:23 (GMT) |
commit | 146965abf2378cdb248cead43a613fb81aa7d1a4 (patch) | |
tree | 204a0d5166a3fd27360f3dc804b0d646ac4928aa /Lib/atexit.py | |
parent | 538f05c94dcf9e4ebe4779ccdc86ba238d885dc6 (diff) | |
download | cpython-146965abf2378cdb248cead43a613fb81aa7d1a4.zip cpython-146965abf2378cdb248cead43a613fb81aa7d1a4.tar.gz cpython-146965abf2378cdb248cead43a613fb81aa7d1a4.tar.bz2 |
Whitespace standardization.
Diffstat (limited to 'Lib/atexit.py')
-rw-r--r-- | Lib/atexit.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/atexit.py b/Lib/atexit.py index a311630..b687cb4 100644 --- a/Lib/atexit.py +++ b/Lib/atexit.py @@ -2,7 +2,7 @@ atexit.py - allow programmer to define multiple exit functions to be executed upon normal program termination. -One public function, register, is defined. +One public function, register, is defined. """ _exithandlers = [] @@ -12,7 +12,7 @@ def _run_exitfuncs(): _exithandlers is traversed in reverse order so functions are executed last in, first out. """ - + while _exithandlers: func, targs, kargs = _exithandlers[-1] apply(func, targs, kargs) @@ -51,4 +51,3 @@ if __name__ == "__main__": register(x2, 12) register(x3, 5, "bar") register(x3, "no kwd args") - |