summaryrefslogtreecommitdiff
path: root/SCons/exitfuncs.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/exitfuncs.py')
-rw-r--r--SCons/exitfuncs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/exitfuncs.py b/SCons/exitfuncs.py
index ba6243a7a..d28bba4d0 100644
--- a/SCons/exitfuncs.py
+++ b/SCons/exitfuncs.py
@@ -28,7 +28,7 @@
import atexit
_exithandlers = []
-def _run_exitfuncs():
+def _run_exitfuncs() -> None:
"""run any registered exit functions
_exithandlers is traversed in reverse order so functions are executed
@@ -39,7 +39,7 @@ def _run_exitfuncs():
func, targs, kargs = _exithandlers.pop()
func(*targs, **kargs)
-def register(func, *targs, **kargs):
+def register(func, *targs, **kargs) -> None:
"""register a function to be executed upon normal program termination
func - function to be called at exit