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

Method set_seq1

Lib/difflib.py:235–259  ·  view source on GitHub ↗

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

(self, a)

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

no outgoing calls

Tested by

no test coverage detected