Skip to content
Snippets Groups Projects
Commit e592262d authored by George Hartzell's avatar George Hartzell Committed by Adam J. Stewart
Browse files

Typos: funciton, woudl, hm,... (#11511)

parent 9957093e
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
# Valid version characters
VALID_VERSION = r'[A-Za-z0-9_.-]'
# Infinity-like versions. The order in the list implies the comparision rules
# Infinity-like versions. The order in the list implies the comparison rules
infinity_versions = ['develop', 'master', 'head', 'trunk']
......@@ -467,7 +467,7 @@ def satisfies(self, other):
This is essentially the same as overlaps(), but overlaps assumes
that its arguments are specific. That is, 4.7 is interpreted as
4.7.0.0.0.0... . This funciton assumes that 4.7 woudl be satisfied
4.7.0.0.0.0... . This function assumes that 4.7 would be satisfied
by 4.7.3.5, etc.
Rationale:
......@@ -549,7 +549,7 @@ def intersection(self, other):
# This is tricky:
# 1.6.5 in 1.6 = True (1.6.5 is more specific)
# 1.6 < 1.6.5 = True (lexicographic)
# Should 1.6 NOT be less than 1.6.5? Hm.
# Should 1.6 NOT be less than 1.6.5? Hmm.
# Here we test (not end in other.end) first to avoid paradox.
if other.end is not None and end not in other.end:
if other.end < end or other.end in end:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment