From bcc95cb7cb8fc26923a089b8606fb46b331bd825 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 31 Jul 2004 00:19:43 +0000 Subject: [PATCH] Repair typo in docstring. --- Lib/difflib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/difflib.py b/Lib/difflib.py index e82c703a7d8..7cd51975a48 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -600,7 +600,7 @@ def ratio(self): """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.