Mercurial > cpython-lru_cache-weakref
diff Lib/difflib.py @ 32867:8d25835f88ae legacy-trunk
Repair typo in docstring.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 31 Jul 2004 00:19:43 +0000 |
| parents | 5546c7ae24f7 |
| children | 6d3bdd19beeb |
line wrap: on
line diff
--- a/Lib/difflib.py Fri Jul 30 19:12:38 2004 +0000 +++ b/Lib/difflib.py Sat Jul 31 00:19:43 2004 +0000 @@ -600,7 +600,7 @@ """Return a measure of the sequences' similarity (float in [0,1]). 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 they have nothing in common.
