Lines Matching defs:compare
108 uses SequenceMatcher both to compare sequences of lines, and to compare
247 second sequence, so if you want to compare one sequence S against
273 second sequence, so if you want to compare one sequence S against
513 # block so lengthened remains the block to compare against.
518 # new block to compare against.
768 SequenceMatcher both to compare sequences of lines, and to compare
816 Finally, we compare the two:
818 >>> result = list(d.compare(text1, text2))
854 compare(a, b)
855 Compare two sequences of lines; generate the resulting delta.
882 def compare(self, a, b):
884 Compare two sequences of lines; generate the resulting delta.
894 >>> print ''.join(Differ().compare('one\ntwo\nthree\n'.splitlines(1),
1159 Compare two sequences of lines; generate the delta as a unified diff.
1243 Compare two sequences of lines; generate the delta as a context diff.
1316 Compare `a` and `b` (lists of strings); return a `Differ`-style delta.
1348 return Differ(linejunk, charjunk).compare(a, b)
2024 Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract