Set the two sequences to be compared. >>> s = SequenceMatcher() >>> s.set_seqs("abcd", "bcde") >>> s.ratio() 0.75
difflib/SequenceMatcher.set_seqs
SequenceMatcher.set_seqs