summaryrefslogtreecommitdiff
path: root/SCons/compat/__init__.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2023-05-03 20:41:15 -0700
committerGitHub <noreply@github.com>2023-05-03 20:41:15 -0700
commit4997bbda807ebdbcd11b1282981c3abb81dd8ee1 (patch)
tree6199e98610c76c39efe59a4dc6e91d31e5a13e96 /SCons/compat/__init__.py
parent4c835c49219361b08f03b71d1f944e2e74f23545 (diff)
parent84859d565216af998f817e05d0696f3423bb7216 (diff)
downloadscons-git-4997bbda807ebdbcd11b1282981c3abb81dd8ee1.tar.gz
Merge branch 'master' into bug/msys-python
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.