Searched refs:submodule_search_locations (Results 1 – 22 of 22) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_spec.py | 84 self.assertIs(spec.submodule_search_locations, None) 95 self.assertIs(spec.submodule_search_locations, None) 107 self.assertIs(spec.submodule_search_locations, None) 119 self.assertEqual(spec.submodule_search_locations, []) 134 submodule_search_locations=None, 145 submodule_search_locations=None, 156 submodule_search_locations=None, 516 self.assertIs(spec.submodule_search_locations, None) 531 self.assertIs(spec.submodule_search_locations, None) 544 self.assertIs(spec.submodule_search_locations, None) [all …]
|
D | test_abc.py | 417 spec.submodule_search_locations = paths 459 module.__spec__.submodule_search_locations)
|
D | util.py | 278 submodule_search_locations=getattr(module, '__path__', None))
|
D | test_util.py | 101 self.assertEqual(module.__path__, spec.submodule_search_locations)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 375 self.submodule_search_locations = [] if is_package else None 386 if self.submodule_search_locations is not None: 388 .format(self.submodule_search_locations)) 392 smsl = self.submodule_search_locations 397 smsl == other.submodule_search_locations and 419 if self.submodule_search_locations is None: 444 submodule_search_locations=search) 493 submodule_search_locations = list(module.__path__) 495 submodule_search_locations = None 500 spec.submodule_search_locations = submodule_search_locations [all …]
|
D | _bootstrap_external.py | 575 submodule_search_locations=_POPULATE): argument 620 if submodule_search_locations is _POPULATE: 629 spec.submodule_search_locations = [] 631 spec.submodule_search_locations = submodule_search_locations 632 if spec.submodule_search_locations == []: 635 spec.submodule_search_locations.append(dirname) 1109 if spec.submodule_search_locations: 1110 self._path = spec.submodule_search_locations 1237 spec.submodule_search_locations = portions 1259 portions = spec.submodule_search_locations [all …]
|
D | abc.py | 118 if not found.submodule_search_locations: 121 portions = found.submodule_search_locations
|
D | resources.py | 41 if package.__spec__.submodule_search_locations is None: 48 if module.__spec__.submodule_search_locations is None:
|
D | __init__.py | 101 if spec.submodule_search_locations is None:
|
/external/python/cpython3/Lib/ |
D | pyclbr.py | 165 if spec.submodule_search_locations is not None: 166 tree['__path__'] = spec.submodule_search_locations
|
D | imp.py | 212 submodule_search_locations=[])
|
D | runpy.py | 137 if spec.submodule_search_locations is not None:
|
D | pkgutil.py | 566 portions = spec.submodule_search_locations or []
|
/external/python/cpython3/Lib/unittest/ |
D | loader.py | 315 if spec.submodule_search_locations is not None:
|
/external/python/cpython3/Lib/test/ |
D | test_pkgutil.py | 209 submodule_search_locations=[])
|
/external/scapy/scapy/modules/ |
D | six.py | 875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | six.py | 852 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
|
/external/python/setuptools/setuptools/_vendor/ |
D | six.py | 852 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
|
/external/python/six/ |
D | six.py | 875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 843 ``__spec__.submodule_search_locations`` that is not ``None``. 1292 reflected in ``__spec__.submodule_search_locations``. 1318 .. attribute:: submodule_search_locations 1551 .. function:: spec_from_file_location(name, location, *, loader=None, submodule_search_locations=No… 1734 path = parent_module.__spec__.submodule_search_locations
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 828 submodule_search_locations=['/a', '/b']
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 348 if spec.submodule_search_locations is not None: 860 ``None`` and "submodule_search_locations" to a list containing the
|