Lines Matching refs:Differ
59 .. class:: Differ
62 human-readable differences or deltas. Differ uses :class:`SequenceMatcher`
66 Each line of a :class:`Differ` delta begins with a two-letter code:
224 Compare *a* and *b* (lists of strings); return a :class:`Differ`\ -style
263 Given a *sequence* produced by :meth:`Differ.compare` or :func:`ndiff`, extract
642 Differ Objects
645 Note that :class:`Differ`\ -generated deltas make no claim to be **minimal**
651 The :class:`Differ` class has this constructor:
654 .. class:: Differ(linejunk=None, charjunk=None)
674 :class:`Differ` objects are used (deltas generated) via a single method:
677 .. method:: Differ.compare(a, b)
691 Differ Example
713 Next we instantiate a Differ object:
715 >>> d = Differ()
717 Note that when instantiating a :class:`Differ` object we may pass functions to
718 filter out line and character "junk." See the :meth:`Differ` constructor for