Home | History | Annotate | Download | only in Lib

Lines Matching defs:Differ

22 Class Differ:
30 'Differ','IS_CHARACTER_JUNK', 'IS_LINE_JUNK', 'context_diff',
106 See the Differ class for a fancy human-friendly file differencer, which
751 class Differ:
753 Differ is a class for comparing sequences of lines of text, and
754 producing human-readable differences or deltas. Differ uses
758 Each line of a Differ delta begins with a two-letter code:
769 Note that Differ makes no claim to produce a *minimal* diff. To the
796 Next we instantiate a Differ object:
798 >>> d = Differ()
800 Note that when instantiating a Differ object we may pass functions to
801 filter out line and character 'junk'. See Differ.__init__ for details.
880 >>> print(''.join(Differ().compare('one\ntwo\nthree\n'.splitlines(True),
937 >>> d = Differ()
1040 >>> d = Differ()
1346 Compare `a` and `b` (lists of strings); return a `Differ`-style delta.
1379 return Differ(linejunk, charjunk).compare(a, b)
2060 Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract