Home
last modified time | relevance | path

Searched refs:known_paths (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Dsite.py134 known_paths = set()
140 if dircase not in known_paths:
142 known_paths.add(dircase)
144 return known_paths
160 def addpackage(sitedir, name, known_paths): argument
165 if known_paths is None:
166 known_paths = _init_pathinfo()
190 if not dircase in known_paths and os.path.exists(dir):
192 known_paths.add(dircase)
203 known_paths = None
[all …]
/third_party/python/Lib/test/
Dtest_site.py170 known_paths = site.addpackage(pth_dir, pth_fn, set())
171 self.assertEqual(known_paths, set())
332 known_paths = set()
333 site.addusersitepackages(known_paths)
337 self.assertFalse(known_paths)
/third_party/python/Doc/library/
Dsite.rst208 .. function:: addsitedir(sitedir, known_paths=None)