Skip to content

Commit

Permalink
Update docstring for get_preference
Browse files Browse the repository at this point in the history
  • Loading branch information
notatallshaw committed Oct 22, 2024
1 parent 288dd9b commit 90d10d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pip/_internal/resolution/resolvelib/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def get_preference(
* If equal, prefer if any requirement is "pinned", i.e., contains
operator ``===`` or ``==``.
* If the a member of backtrack causes.
* If equal, prefer if any requirement is part of the current causes
for backtracking.
* If equal, calculate an approximate "depth" and resolve requirements
closer to the user-specified requirements first. If the depth cannot
be determined (e.g., due to no matching parents), it is considered
Expand Down

0 comments on commit 90d10d6

Please sign in to comment.