Home
last modified time | relevance | path

Searched refs:submodule_search_locations (Results 1 – 23 of 23) 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.py102 self.assertEqual(module.__path__, spec.submodule_search_locations)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py348 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.py630 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 …]
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.py167 if spec.submodule_search_locations is not None:
168 tree['__path__'] = spec.submodule_search_locations
Dimp.py212 submodule_search_locations=[])
Drunpy.py138 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/six/
Dsix.py875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/parse_type/tasks/_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/setuptools/pkg_resources/_vendor/
Dsix.py852 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/cpython3/Doc/library/
Dimportlib.rst846 ``__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/
Dtest_discovery.py834 submodule_search_locations=['/a', '/b']
/external/python/cpython3/Doc/reference/
Dimport.rst350 if spec.origin is None and spec.submodule_search_locations is not None:
859 ``None`` and "submodule_search_locations" to a list containing the