diff --git a/Lib/logging/config.py b/Lib/logging/config.py index f5971c2bcfb..1e5ff6875eb 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -373,7 +373,7 @@ class BaseConfigurator(object): } # We might want to use a different one, e.g. importlib - importer = __import__ + importer = staticmethod(__import__) def __init__(self, config): self.config = ConvertingDict(config)