Lines Matching refs:ndiff
10 Function ndiff(a, b):
14 Return one of the two sequences that generated an ndiff delta.
29 __all__ = ['get_close_matches', 'ndiff', 'restore', 'SequenceMatcher',
1026 # With respect to junk, an earlier version of ndiff simply refused to
1031 # not starting with junk is "e Thread currentThread". So ndiff reported
1038 # following blank; then "Thread" is matched; and finally ndiff reports
1303 def ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK):
1321 Tools/scripts/ndiff.py is a command-line front-end to this function.
1325 >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
1349 linejunk -- passed on to ndiff (see ndiff documentation)
1350 charjunk -- passed on to ndiff (see ndiff documentation)
1370 Note, this function utilizes the ndiff function to generate the side by
1371 side difference markup. Optional ndiff arguments may be passed to this
1372 function and they in turn will be passed to ndiff.
1380 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk)
1385 lines -- list of lines from the ndiff generator to produce a line of
1696 linejunk,charjunk -- keyword arguments passed into ndiff() (used by
1698 ndiff() documentation for argument default values and descriptions.
2023 Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract
2029 >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),