Home
last modified time | relevance | path

Searched refs:submodule_search_locations (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py84 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 …]
Dtest_abc.py417 spec.submodule_search_locations = paths
459 module.__spec__.submodule_search_locations)
Dutil.py278 submodule_search_locations=getattr(module, '__path__', None))
Dtest_util.py101 self.assertEqual(module.__path__, spec.submodule_search_locations)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py375 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.py575 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 …]
Dabc.py118 if not found.submodule_search_locations:
121 portions = found.submodule_search_locations
Dresources.py41 if package.__spec__.submodule_search_locations is None:
48 if module.__spec__.submodule_search_locations is None:
D__init__.py101 if spec.submodule_search_locations is None:
/external/python/cpython3/Lib/
Dpyclbr.py165 if spec.submodule_search_locations is not None:
166 tree['__path__'] = spec.submodule_search_locations
Dimp.py212 submodule_search_locations=[])
Drunpy.py137 if spec.submodule_search_locations is not None:
Dpkgutil.py566 portions = spec.submodule_search_locations or []
/external/python/cpython3/Lib/unittest/
Dloader.py315 if spec.submodule_search_locations is not None:
/external/python/cpython3/Lib/test/
Dtest_pkgutil.py209 submodule_search_locations=[])
/external/scapy/scapy/modules/
Dsix.py875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/setuptools/pkg_resources/_vendor/
Dsix.py852 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/setuptools/setuptools/_vendor/
Dsix.py852 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/six/
Dsix.py875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/cpython3/Doc/library/
Dimportlib.rst843 ``__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/
Dtest_discovery.py828 submodule_search_locations=['/a', '/b']
/external/python/cpython3/Doc/reference/
Dimport.rst348 if spec.submodule_search_locations is not None:
860 ``None`` and "submodule_search_locations" to a list containing the