Skip to content

Clarify DistributionFinder.Context.path type #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2021

Conversation

pombredanne
Copy link
Contributor

The DistributionFinder.Context.path property is a list of directory paths.

Signed-off-by: Philippe Ombredanne pombredanne@nexb.com

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
The DistributionFinder.Context.path property is a list of directory paths.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
Copy link
Contributor Author

I found myself scratching my head as to why passing a Context(path='some/path') object would not work out until I found out that this it was not a single path string (as the variable name was letting me believe) as but rather a list of path strings as in sys.path. I think this is worth clarifying. I could also provide a doc update along these lines.

@jaraco jaraco merged commit 1439f64 into python:main May 26, 2021
@pombredanne pombredanne deleted the patch-1 branch May 26, 2021 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants