]> granicus.if.org Git - python/commitdiff
Repair typo in docstring.
authorTim Peters <tim.peters@gmail.com>
Sat, 31 Jul 2004 00:19:43 +0000 (00:19 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 31 Jul 2004 00:19:43 +0000 (00:19 +0000)
Lib/difflib.py

index e82c703a7d875fda158345b30e88ea337f05e12c..7cd51975a48d051ea9e4389e89667bd5547ed4c4 100644 (file)
@@ -600,7 +600,7 @@ class SequenceMatcher:
         """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.