73
74
def internal_diff(old_filename, oldlines, new_filename, newlines, to_file,
74
75
allow_binary=False, sequence_matcher=None,
76
77
# FIXME: difflib is wrong if there is no trailing newline.
77
78
# The syntax used by patch seems to be "\ No newline at
78
79
# end of file" following the last diff line from that