Lines Matching refs:spec
43 """Return the spec for the specified module.
48 sys.modules, then sys.meta_path is searched for a suitable spec with the
49 value of 'path' given to the finders. None is returned if no spec could
54 order for a submodule to get the correct spec.
64 spec = module.__spec__
68 if spec is None:
70 return spec
74 """Return the spec for the specified module.
79 sys.modules, then sys.meta_path is searched for a suitable spec with the
80 value of 'path' given to the finders. None is returned if no spec could
109 spec = module.__spec__
113 if spec is None:
115 return spec
287 def create_module(self, spec):
288 return self.loader.create_module(spec)