diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-07-24 17:49:45 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-07-24 17:49:45 +0300 |
commit | 327c1872841bc6a98aa766fc3d7ee921e6d3b658 (patch) | |
tree | d3424f7aadc4a3118eb7fb72e245b4fbe8391e58 /sphinx/versioning.py | |
parent | dc63eaf196d37c70410d37c3d28297fb513f7f6d (diff) | |
parent | 5b096c42ff3a907fa7bcce3fa620209da16d40bd (diff) |
Merge branch '3.x'
Diffstat (limited to 'sphinx/versioning.py')
-rw-r--r-- | sphinx/versioning.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py index 3c6a43c19..4f925741c 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]): |