diff options
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r-- | astroid/modutils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/astroid/modutils.py b/astroid/modutils.py index fb051d5e..f3852566 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -534,6 +534,9 @@ def is_standard_module(modname, std_path=None): return False if std_path is None: std_path = STD_LIB_DIRS + if modname == "hashlib": + print(f"Module {modname} is located in {filename}") + print(f"STD_LIB_DIRS are {STD_LIB_DIRS}") for path in std_path: if filename.startswith(_cache_normalize_path(path)): return True |