mirror of
https://github.com/python/cpython.git
synced 2025-09-19 07:00:59 +00:00
Repair typo in docstring.
This commit is contained in:
parent
63a5d0b1cf
commit
bcc95cb7cb
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ class SequenceMatcher:
|
||||||
"""Return a measure of the sequences' similarity (float in [0,1]).
|
"""Return a measure of the sequences' similarity (float in [0,1]).
|
||||||
|
|
||||||
Where T is the total number of elements in both sequences, and
|
Where T is the total number of elements in both sequences, and
|
||||||
M is the number of matches, this is 2,0*M / T.
|
M is the number of matches, this is 2.0*M / T.
|
||||||
Note that this is 1 if the sequences are identical, and 0 if
|
Note that this is 1 if the sequences are identical, and 0 if
|
||||||
they have nothing in common.
|
they have nothing in common.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue