From bcc95cb7cb8fc26923a089b8606fb46b331bd825 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 31 Jul 2004 00:19:43 +0000 Subject: Repair typo in docstring. --- Lib/difflib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/difflib.py') diff --git a/Lib/difflib.py b/Lib/difflib.py index e82c703a7d..7cd51975a4 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -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. -- cgit v1.2.1