Lines Matching defs:compare
110 uses SequenceMatcher both to compare sequences of lines, and to compare
249 second sequence, so if you want to compare one sequence S against
275 second sequence, so if you want to compare one sequence S against
515 # block so lengthened remains the block to compare against.
520 # new block to compare against.
770 SequenceMatcher both to compare sequences of lines, and to compare
818 Finally, we compare the two:
820 >>> result = list(d.compare(text1, text2))
856 compare(a, b)
857 Compare two sequences of lines; generate the resulting delta.
884 def compare(self, a, b):
886 Compare two sequences of lines; generate the resulting delta.
896 >>> print ''.join(Differ().compare('one\ntwo\nthree\n'.splitlines(1),
1161 Compare two sequences of lines; generate the delta as a unified diff.
1245 Compare two sequences of lines; generate the delta as a context diff.
1318 Compare `a` and `b` (lists of strings); return a `Differ`-style delta.
1350 return Differ(linejunk, charjunk).compare(a, b)
2026 Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract