MCPcopy Index your code
hub / github.com/RustPython/RustPython / path

Method path

Lib/importlib/metadata/__init__.py:695–703  ·  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

693
694 @property
695 def path(self) -> List[str]:
696 """
697 The sequence of directory path that a distribution finder
698 should search.
699
700 Typically refers to Python installed package paths such as
701 "site-packages" directories and defaults to ``sys.path``.
702 """
703 return vars(self).get('path', sys.path)
704
705 @abc.abstractmethod
706 def find_distributions(self, context=Context()) -> Iterable[Distribution]:

Callers 1

test_pathMethod · 0.45

Calls 2

varsFunction · 0.85
getMethod · 0.45

Tested by 1

test_pathMethod · 0.36