summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-31 00:19:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-31 00:19:43 (GMT)
commitbcc95cb7cb8fc26923a089b8606fb46b331bd825 (patch)
treee5c6024d2257dfc0197f81b7b6bd54f3382e4de7 /Lib/difflib.py
parent63a5d0b1cfdd882e481465a5eb3d132a6c744f7f (diff)
downloadcpython-bcc95cb7cb8fc26923a089b8606fb46b331bd825.zip
cpython-bcc95cb7cb8fc26923a089b8606fb46b331bd825.tar.gz
cpython-bcc95cb7cb8fc26923a089b8606fb46b331bd825.tar.bz2
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 e82c703..7cd5197 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.