Reword docstring to match code

This commit is contained in:
Tzu-ping Chung 2020-03-31 01:31:11 +08:00
parent 799ffcbfe1
commit 4a453e12d4
1 changed files with 3 additions and 2 deletions

View File

@ -264,8 +264,9 @@ class Resolver(BaseResolver):
# type: (InstallRequirement) -> None
"""Ensure that if a link can be found for this, that it is found.
Note that req.link may still be None - if Upgrade is False and the
requirement is already installed.
Note that req.link may still be None - if the requirement is already
installed and not needed to be upgraded based on the return value of
_is_upgrade_allowed().
If preparer.require_hashes is True, don't use the wheel cache, because
cached wheels, always built locally, have different hashes than the