Skip to content

Commit bd32f3f

Browse files
committed
feat(lookup_table): find_spec, module_from_spec, spec_from_file_location
1 parent 4434c7b commit bd32f3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/python_import/lookup_table.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ M.default_import_from = {
164164
import_module = "importlib",
165165
invalidate_caches = "importlib",
166166
reload = "importlib",
167+
spec_from_file_location = "importlib.util",
168+
module_from_spec = "importlib.util",
169+
find_spec = "importlib.util",
167170

168171
BlockingIOError = "io",
169172
IOBase = "io",

0 commit comments

Comments
 (0)