summaryrefslogtreecommitdiff
path: root/SCons/compat/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/compat/__init__.py')
-rw-r--r--SCons/compat/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SCons/compat/__init__.py b/SCons/compat/__init__.py
index 03b12af99..2174f38c1 100644
--- a/SCons/compat/__init__.py
+++ b/SCons/compat/__init__.py
@@ -64,7 +64,7 @@ import importlib
PYPY = hasattr(sys, 'pypy_translation_info')
-def rename_module(new, old):
+def rename_module(new, old) -> bool:
"""
Attempt to import the old module and load it under the new name.
Used for purely cosmetic name changes in Python 3.x.