Skip to content

Commit ab1c873

Browse files
authored
Clarify DistributionFinder.Context.path type
The DistributionFinder.Context.path property is a list of directory paths. Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent a956dc5 commit ab1c873

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

importlib_metadata/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,10 +616,11 @@ def __init__(self, **kwargs):
616616
@property
617617
def path(self):
618618
"""
619-
The path that a distribution finder should search.
619+
The sequence of directory path that a distribution finder
620+
should search.
620621
621-
Typically refers to Python package paths and defaults
622-
to ``sys.path``.
622+
Typically refers to Python installed package paths such as
623+
"site-packages" directories and defaults to ``sys.path``.
623624
"""
624625
return vars(self).get('path', sys.path)
625626

0 commit comments

Comments
 (0)