Skip to content

Commit bcc95cb

Browse files
committed
Repair typo in docstring.
1 parent 63a5d0b commit bcc95cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/difflib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def ratio(self):
600600
"""Return a measure of the sequences' similarity (float in [0,1]).
601601
602602
Where T is the total number of elements in both sequences, and
603-
M is the number of matches, this is 2,0*M / T.
603+
M is the number of matches, this is 2.0*M / T.
604604
Note that this is 1 if the sequences are identical, and 0 if
605605
they have nothing in common.
606606

0 commit comments

Comments
 (0)