summaryrefslogtreecommitdiffstats
path: root/Lib/pkgutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pkgutil.py')
-rw-r--r--Lib/pkgutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py
index 7beae12..326657a 100644
--- a/Lib/pkgutil.py
+++ b/Lib/pkgutil.py
@@ -611,7 +611,7 @@ def get_data(package, resource):
which does not support get_data(), then None is returned.
"""
- spec = importlib.find_spec(package)
+ spec = importlib.util.find_spec(package)
if spec is None:
return None
loader = spec.loader