Import importlib submodules

top-level module is imported at the same time.
This commit is contained in:
Chris Mayo 2023-06-05 19:32:03 +01:00
parent 4d9a39089d
commit 09f4feacf1
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
Store metadata and options.
"""
import importlib
import importlib.resources
import os
import re
import urllib.parse

View file

@ -8,7 +8,7 @@ Example usage::
plugins = loader.get_plugins(modules, PluginClass)
"""
import os
import importlib
import importlib.util
import pkgutil
from .fileutil import is_writable_by_others