Lines Matching refs:spec
27 """Return the finder-specific module spec."""
356 spec = _get_spec(finder, '__init__')
357 return spec.loader
490 and only returns the loader rather than the full spec
496 spec = importlib.util.find_spec(fullname)
503 return spec.loader if spec is not None else None
567 spec = finder.find_spec(final_name)
568 if spec is not None:
569 portions = spec.submodule_search_locations or []
622 spec = importlib.util.find_spec(package)
623 if spec is None:
625 loader = spec.loader
630 importlib._bootstrap._load(spec))