/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 127 self.machinery.PathFinder.find_spec('whatever', [path])) 131 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 143 self.machinery.PathFinder.find_spec('whatever', [path])) 147 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 153 def find_spec(self, fullname, target=None): member in FinderTests.test_finder_with_find_spec.TestFinder 158 self.machinery.PathFinder.find_spec('whatever', [path])) 162 got = self.machinery.PathFinder.find_spec('whatever', [path]) 185 self.assertIsNone(self.machinery.PathFinder.find_spec('whatever')) 223 return self.machinery.PathFinder.find_spec(*args, **kwargs) 251 self.machinery.PathFinder.find_spec('importlib')
|
D | test___loader__.py | 11 def find_spec(self, fullname, path=None, target=None): member in SpecLoaderMock
|
D | test_api.py | 14 def find_spec(cls, fullname, path=None, target=None): member in BadSpecFinderLoader
|
D | test_meta_path.py | 29 first.find_spec = lambda self, fullname, path=None, parent=None: None
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_finder.py | 18 found = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name) 37 spec = self.machinery.BuiltinImporter.find_spec(name) 43 spec = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name,
|
/external/python/cpython3/Lib/idlelib/ |
D | mainmenu.py | 11 from importlib.util import find_spec 118 if find_spec('turtledemo'):
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 406 def find_spec(name, path=None, target=None): return name, path, target member in FindSpecTests.FakeMetaFinder 417 found = self.util.find_spec(name) 429 found = self.util.find_spec(name) 439 self.util.find_spec(name) 448 found = self.util.find_spec(name) 461 self.util.find_spec(name) 468 self.util.find_spec(name)) 472 self.assertIsNone(self.util.find_spec('nevergoingtofindthismodule')) 479 spec = self.util.find_spec(fullname) 484 spec_again = self.util.find_spec(fullname) [all …]
|
D | test_threaded_import.py | 76 def find_spec(self, name, path=None, target=None): member in Finder 91 def find_spec(self, name, path=None, target=None): member in FlushingFinder 163 finder.find_spec('') 169 flushing_finder.find_spec('')
|
D | test_windows.py | 64 spec = self.machinery.WindowsRegistryFinder.find_spec('spam') 74 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module) 81 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module)
|
D | test_abc.py | 354 def find_spec(self, fullname, path, target=None): member in MetaPathFinderFindModuleTests.finder.MetaPathSpecFinder 372 found = finder.find_spec('blah', 'blah', None) 379 found = finder.find_spec(name, path, None) 388 found = finder.find_spec('blah', None) 404 def find_spec(self, fullname, target=None): member in PathEntryFinderFindLoaderTests.finder.PathEntrySpecFinder
|
D | test_lazy.py | 45 def find_spec(self, name, path, target=None): member in TestingImporter
|
/external/python/cpython3/Lib/ |
D | pkgutil.py | 31 find_spec = finder.find_spec 38 return find_spec(name) 494 spec = importlib.util.find_spec(fullname) 565 spec = finder.find_spec(final_name) 620 spec = importlib.util.find_spec(package)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 737 def find_spec(cls, fullname, path=None, target=None): member in BuiltinImporter 754 spec = cls.find_spec(fullname, path) 812 def find_spec(cls, fullname, path=None, target=None): member in FrozenImporter 919 find_spec = finder.find_spec 925 spec = find_spec(name, path, target) 1135 spec = BuiltinImporter.find_spec(name)
|
D | abc.py | 76 found = self.find_spec(fullname, path) 117 found = self.find_spec(fullname)
|
D | _bootstrap_external.py | 739 def find_spec(cls, fullname, path=None, target=None): member in WindowsRegistryFinder 761 spec = cls.find_spec(fullname, path) 1321 spec = finder.find_spec(fullname, target) 1342 def find_spec(cls, fullname, path=None, target=None): member in PathFinder 1373 spec = cls.find_spec(fullname, path) 1428 spec = self.find_spec(fullname) 1438 def find_spec(self, fullname, target=None): member in FileFinder
|
D | util.py | 73 def find_spec(name, package=None): function
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 278 pair: finder; find_spec 284 :meth:`~importlib.abc.MetaPathFinder.find_spec()` which takes three arguments: 295 The :meth:`~importlib.abc.MetaPathFinder.find_spec()` method of meta path 309 ``mpf.find_spec("foo", None, None)`` on each meta path finder (``mpf``). After 312 ``mpf.find_spec("foo.bar", foo.__path__, None)``. Once ``foo.bar`` has been 314 ``mpf.find_spec("foo.bar.baz", foo.bar.__path__, None)``. 326 The :meth:`~importlib.abc.MetaPathFinder.find_spec` method of meta path 330 ``find_spec()``. 423 :meth:`~importlib.abc.MetaPathFinder.find_spec` method would just return a 770 :meth:`~importlib.abc.MetaPathFinder.find_spec` protocol previously [all …]
|
/external/tensorflow/tensorflow/python/tools/ |
D | module_util.py | 59 spec = importlib.util.find_spec(name_split[0])
|
/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_finder.py | 15 return finder.find_spec(name, path)
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_case_sensitivity.py | 78 found = finder.find_spec(self.name)
|
D | test_finder.py | 195 spec = finder.find_spec(name)
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 136 Use :func:`importlib.util.find_spec` instead. 268 .. method:: find_spec(fullname, path, target=None) 290 If :meth:`find_spec` is defined, backwards-compatible functionality is 295 :exc:`NotImplementedError`. Can use :meth:`find_spec` to provide 299 Use :meth:`find_spec` instead. 321 .. method:: find_spec(fullname, target=None) 345 If :meth:`find_spec` is defined then backwards-compatible functionality is 350 Uses :meth:`find_spec` when available to provide functionality. 353 Use :meth:`find_spec` instead. 361 Use :meth:`find_spec` instead. [all …]
|
/external/python/jinja/tests/ |
D | test_loader.py | 357 def find_spec(self, name, path=None, target=None): member in test_pep_451_import_hook.ImportHook 361 spec = importlib.machinery.PathFinder.find_spec(name)
|
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/grpc_tools/ |
D | protoc.py | 150 def find_spec(self, fullname, path, target=None): member in ProtoFinder
|
/external/python/cpython3/Lib/test/ |
D | test_doctest.py | 2673 def find_spec(self, fullname, path, target=None): member in TestImporter
|