ndiff(a, b, linejunk=None, charjunk=<function IS_CHARACTER_JUNK at 0x41108304>)
Compare `a` and `b` (lists of strings); return a `Differ`-style delta.
Optional keyword parameters `linejunk` and `charjunk` are for filter functions (or None):
Tools/scripts/ndiff.py is a command-line front-end to this function.
Example:
>>> diff = ndiff(one\ntwo\nthree\n
.splitlines(1),
... ore\ntree\nemu\n
.splitlines(1))
>>> print ''.join(diff),
- one
? ^
+ ore
? ^
- two
- three
? -
+ tree
+ emu