Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTetsuo Koyama <tkoyama010@gmail.com>2020-07-19 03:43:11 +0300
committerTetsuo Koyama <tkoyama010@gmail.com>2020-07-19 03:43:11 +0300
commitae7c4cc3b87d270bd9089c8c145f569df2557b29 (patch)
treec6bf012f15d9eede6369612e424ec30940a80f0b /sphinx/versioning.py
parente5d9527b0be3d54cedae022e98c195a93d68be41 (diff)
fix typo
Diffstat (limited to 'sphinx/versioning.py')
-rw-r--r--sphinx/versioning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py
index 502bf361c..7307b13d1 100644
--- a/sphinx/versioning.py
+++ b/sphinx/versioning.py
@@ -116,7 +116,7 @@ def merge_doctrees(old: Node, new: Node, condition: Any) -> Iterator[Node]:
def get_ratio(old: str, new: str) -> float:
- """Return a "similiarity ratio" (in percent) representing the similarity
+ """Return a "similarity ratio" (in percent) representing the similarity
between the two strings where 0 is equal and anything above less than equal.
"""
if not all([old, new]):