summaryrefslogtreecommitdiff
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-31 00:19:43 +0000
committerTim Peters <tim.peters@gmail.com>2004-07-31 00:19:43 +0000
commitedece3820ee5a42578a60798a65ebe2f9df2be76 (patch)
treeb8cfd970f889f41aae6eb75edec7d9daade91d0b /Lib/difflib.py
parentf3093ecfa3a7de87b032a5e9c4c1762b771166fa (diff)
downloadcpython-edece3820ee5a42578a60798a65ebe2f9df2be76.tar.gz
Repair typo in docstring.
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r--Lib/difflib.py2
1 files changed, 1 insertions, 1 deletions
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.