Home
last modified time | relevance | path

Searched refs:submodule_search_locations (Results 1 – 18 of 18) 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 …]
Dutil.py271 submodule_search_locations=getattr(module, '__path__', None))
Dtest_abc.py372 spec.submodule_search_locations = paths
413 module.__spec__.submodule_search_locations)
Dtest_util.py100 self.assertEqual(module.__path__, spec.submodule_search_locations)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py361 self.submodule_search_locations = [] if is_package else None
372 if self.submodule_search_locations is not None:
374 .format(self.submodule_search_locations))
378 smsl = self.submodule_search_locations
383 smsl == other.submodule_search_locations and
405 if self.submodule_search_locations is None:
430 submodule_search_locations=search)
482 submodule_search_locations = list(module.__path__)
484 submodule_search_locations = None
489 spec.submodule_search_locations = submodule_search_locations
[all …]
D_bootstrap_external.py525 submodule_search_locations=_POPULATE): argument
570 if submodule_search_locations is _POPULATE:
579 spec.submodule_search_locations = []
581 spec.submodule_search_locations = submodule_search_locations
582 if spec.submodule_search_locations == []:
585 spec.submodule_search_locations.append(dirname)
988 if spec.submodule_search_locations:
989 self._path = spec.submodule_search_locations
1114 spec.submodule_search_locations = portions
1136 portions = spec.submodule_search_locations
[all …]
Dabc.py105 if not found.submodule_search_locations:
108 portions = found.submodule_search_locations
D__init__.py100 if spec.submodule_search_locations is None:
/external/python/cpython3/Lib/
Dpyclbr.py145 if spec.submodule_search_locations is not None:
146 dict['__path__'] = spec.submodule_search_locations
Drunpy.py137 if spec.submodule_search_locations is not None:
Dimp.py212 submodule_search_locations=[])
Dpkgutil.py563 portions = spec.submodule_search_locations or []
/external/python/cpython3/Lib/unittest/
Dloader.py307 if spec.submodule_search_locations is not None:
/external/python/cpython3/Lib/test/
Dtest_pkgutil.py200 submodule_search_locations=[])
/external/scapy/scapy/modules/
Dsix.py875 __spec__.submodule_search_locations = [] # PEP 451 @UndefinedVariable
/external/python/cpython3/Lib/unittest/test/
Dtest_discovery.py822 submodule_search_locations=['/a', '/b']
/external/python/cpython3/Doc/library/
Dimportlib.rst1074 .. attribute:: submodule_search_locations
1302 .. function:: spec_from_file_location(name, location, *, loader=None, submodule_search_locations=No…
1477 path = parent_module.spec.submodule_search_locations
/external/python/cpython3/Doc/reference/
Dimport.rst349 if spec.submodule_search_locations is not None:
834 ``None`` and "submodule_search_locations" to a list containing the