summaryrefslogtreecommitdiffstats
path: root/Lib/imp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/imp.py')
-rw-r--r--Lib/imp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imp.py b/Lib/imp.py
index f1810f5..3177b28 100644
--- a/Lib/imp.py
+++ b/Lib/imp.py
@@ -16,7 +16,8 @@ except ImportError:
# Platform doesn't support dynamic loading.
load_dynamic = None
-from importlib._bootstrap import SourcelessFileLoader, _ERR_MSG, _exec, _load
+from importlib._bootstrap import _ERR_MSG, _exec, _load
+from importlib._bootstrap_external import SourcelessFileLoader
from importlib import machinery
from importlib import util