Skip to content

Commit

Permalink
Merge pull request #313 from pombredanne/patch-1
Browse files Browse the repository at this point in the history
Clarify DistributionFinder.Context.path type
  • Loading branch information
jaraco authored May 26, 2021
2 parents 5a4699d + ab1c873 commit 1439f64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,10 +618,11 @@ def __init__(self, **kwargs):
@property
def path(self):
"""
The path that a distribution finder should search.
The sequence of directory path that a distribution finder
should search.
Typically refers to Python package paths and defaults
to ``sys.path``.
Typically refers to Python installed package paths such as
"site-packages" directories and defaults to ``sys.path``.
"""
return vars(self).get('path', sys.path)

Expand Down

0 comments on commit 1439f64

Please sign in to comment.