28
29
def internal_diff(old_filename, oldlines, new_filename, newlines, to_file,
29
30
allow_binary=False, sequence_matcher=None):
33
31
# FIXME: difflib is wrong if there is no trailing newline.
34
32
# The syntax used by patch seems to be "\ No newline at
35
33
# end of file" following the last diff line from that