diff options
-rw-r--r-- | botcore/utils/_extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/botcore/utils/_extensions.py b/botcore/utils/_extensions.py index 5614b7ec..536a0715 100644 --- a/botcore/utils/_extensions.py +++ b/botcore/utils/_extensions.py @@ -20,7 +20,7 @@ def unqualify(name: str) -> str: return name.rsplit(".", maxsplit=1)[-1] -def ignore_module(module) -> bool: +def ignore_module(module: pkgutil.ModuleInfo) -> bool: """Return whether the module with name `name` should be ignored.""" return any(name.startswith("_") for name in module.name.split(".")) |