summaryrefslogtreecommitdiff
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 c695cf1081..7ff247f17b 100644
--- a/Lib/pkgutil.py
+++ b/Lib/pkgutil.py
@@ -502,7 +502,7 @@ def find_loader(fullname):
return importlib.find_loader(fullname, path)
except (ImportError, AttributeError, TypeError, ValueError) as ex:
# This hack fixes an impedance mismatch between pkgutil and
- # importlib, where the latter throws other errors for cases where
+ # importlib, where the latter raises other errors for cases where
# pkgutil previously threw ImportError
msg = "Error while finding loader for {!r} ({}: {})"
raise ImportError(msg.format(fullname, type(ex), ex)) from ex