MCPcopy Index your code
hub / github.com/python/cpython / path

Method path

Lib/importlib/metadata/__init__.py:783–791  ·  view source on GitHub ↗

The sequence of directory path that a distribution finder should search. Typically refers to Python installed package paths such as "site-packages" directories and defaults to ``sys.path``.

(self)

Source from the content-addressed store, hash-verified

781
782 @property
783 def path(self) -> list[str]:
784 """
785 The sequence of directory path that a distribution finder
786 should search.
787
788 Typically refers to Python installed package paths such as
789 "site-packages" directories and defaults to ``sys.path``.
790 """
791 return vars(self).get('path', sys.path)
792
793 @abc.abstractmethod
794 def find_distributions(self, context=Context()) -> Iterable[Distribution]:

Callers 1

test_pathMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1

test_pathMethod · 0.36