MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / set_seq2

Method set_seq2

Lib/difflib.py:261–287  ·  view source on GitHub ↗

Set the second sequence to be compared. The first sequence to be compared is not changed. >>> s = SequenceMatcher(None, "abcd", "bcde") >>> s.ratio() 0.75 >>> s.set_seq2("abcd") >>> s.ratio() 1.0 >>> SequenceMatcher computes

(self, b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

set_seqsMethod · 0.95
get_close_matchesFunction · 0.95
_fancy_replaceMethod · 0.95

Calls 1

__chain_bMethod · 0.95

Tested by

no test coverage detected