Return an upper bound on
ratio() very quickly.
The three methods that return the ratio of matching to total characters can give different results due to differing levels of approximation, although
real_quick_ratio() are always at least as large as
>>> s = SequenceMatcher(None, "abcd", "bcde") >>> s.ratio() 0.75 >>> s.quick_ratio() 0.75 >>> s.real_quick_ratio() 1.0