-
Notifications
You must be signed in to change notification settings - Fork 31
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
Awkward wording in docstring for find_matches()
#137
Comments
It’s trying to say (iirc) for each candidate returned by |
Does that mean resolvelib/src/resolvelib/providers.py Lines 5 to 9 in 77b256c
The typing suggests it can be either, but the README says " "requirement" ... SHOULD NOT be used when describing a Candidate, to avoid confusion", so that docstring might also be misleading. And I'm happy to submit a PR to clear up the wording on all of this once I understand exactly what's expected. |
Yes; the argument is called |
I'll create a PR to try to clarify both docstrings. |
#138 is my attempt to clarify things. |
The docstring says the
identifier
parameter "identifies the dependency matches of which should be returned." Is this trying to say it "it identifies the dependency for which matches should be returned"?The text was updated successfully, but these errors were encountered: