Compares two lists of lines using difflib to produce a unified diff.
Compares two lists of lines using difflib to produce a unified diff.
the first seq of lines to be compared
the second seq of lines to be compared
file name to be used in unified diff for origLines
file name to be used in unified diff for newLines
the unified diff of the origLines
and newLines
or the empty string if they're equal
Compares two files using difflib to produce a unified diff.
Compares two files using difflib to produce a unified diff.
the first file to be compared
the second file to be compared
the unified diff of the compared files or the empty string if they're equal