summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2022-09-23 11:17:01 -0700
committerGitHub <noreply@github.com>2022-09-23 11:17:01 -0700
commit4751881fd1cf212343c98ebc3e5ea72b1cb556c1 (patch)
treea2f4981d711aeb8d5d80d5cccda8e6034a871f77 /lib
parent3f28ef89cc1c891d81deebee4747bcdb1e0ed326 (diff)
downloadspack-4751881fd1cf212343c98ebc3e5ea72b1cb556c1.tar.gz
spack-4751881fd1cf212343c98ebc3e5ea72b1cb556c1.tar.bz2
spack-4751881fd1cf212343c98ebc3e5ea72b1cb556c1.tar.xz
spack-4751881fd1cf212343c98ebc3e5ea72b1cb556c1.zip
Fix two docstring typos (#32751)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/version.py b/lib/spack/spack/version.py
index 624d9faeae..f4f08d8c77 100644
--- a/lib/spack/spack/version.py
+++ b/lib/spack/spack/version.py
@@ -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 @@ class GitVersion(VersionBase):
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)