Fix two docstring typos (#32751)

This commit is contained in:
Tamara Dahlgren 2022-09-23 11:17:01 -07:00 committed by GitHub
parent 3f28ef89cc
commit 4751881fd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -504,7 +504,7 @@ class GitVersion(VersionBase):
1) GitVersions instantiated with an associated reference version (e.g. 'git.foo=1.2')
2) GitVersions requiring commit lookups
Git ref versions that are not paried with a known version
Git ref versions that are not paired with a known version
are handled separately from all other version comparisons.
When Spack identifies a git ref version, it associates a
``CommitLookup`` object with the version. This object
@ -600,7 +600,7 @@ def satisfies(self, other):
a common prefix. e.g., we want gcc@4.7.3 to satisfy a request for
gcc@4.7 so that when a user asks to build with gcc@4.7, we can find
a suitable compiler. In the case of two GitVersions we require the ref_versions
to satisify one another and the versions to be an exact match.
to satisfy one another and the versions to be an exact match.
"""
self_cmp = self._cmp(other.ref_lookup)