Searched refs:submodule_search_locations (Results 1 – 23 of 23) 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 | 102 self.assertEqual(module.__path__, spec.submodule_search_locations)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 348 self.submodule_search_locations = [] if is_package else None 359 if self.submodule_search_locations is not None: 361 .format(self.submodule_search_locations)) 365 smsl = self.submodule_search_locations 370 smsl == other.submodule_search_locations and 392 if self.submodule_search_locations is None: 417 submodule_search_locations=search) 466 submodule_search_locations = list(module.__path__) 468 submodule_search_locations = None 473 spec.submodule_search_locations = submodule_search_locations [all …]
|
D | _bootstrap_external.py | 630 submodule_search_locations=_POPULATE): argument 675 if submodule_search_locations is _POPULATE: 684 spec.submodule_search_locations = [] 686 spec.submodule_search_locations = submodule_search_locations 687 if spec.submodule_search_locations == []: 690 spec.submodule_search_locations.append(dirname) 1168 if spec.submodule_search_locations: 1169 self._path = spec.submodule_search_locations 1299 spec.submodule_search_locations = portions 1321 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 | 167 if spec.submodule_search_locations is not None: 168 tree['__path__'] = spec.submodule_search_locations
|
D | imp.py | 212 submodule_search_locations=[])
|
D | runpy.py | 138 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/six/ |
D | six.py | 875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
|
/external/python/parse_type/tasks/_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/setuptools/pkg_resources/_vendor/ |
D | six.py | 852 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 846 ``__spec__.submodule_search_locations`` that is not ``None``. 1295 reflected in ``__spec__.submodule_search_locations``. 1321 .. attribute:: submodule_search_locations 1554 .. function:: spec_from_file_location(name, location, *, loader=None, submodule_search_locations=No… 1737 path = parent_module.__spec__.submodule_search_locations
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 834 submodule_search_locations=['/a', '/b']
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 350 if spec.origin is None and spec.submodule_search_locations is not None: 859 ``None`` and "submodule_search_locations" to a list containing the
|