@file diff3.py
@brief Three-way file comparison algorithm.
This is a line-by-line translation of the Text::Diff3 Perl module version
0.10 written by MIZUTANI Tociyuki <tociyuki@gmail.com>.
The Text::Diff3 Perl module in turn was based on the diff3 program:
Three way file comparison program (diff3) for Project GNU.
Copyright (C) 1988, 1989, 1992, 1993, 1994 Free Software Foundation, Inc.
Written by Randy Smith
The two-way file comparison procedure was based on the article:
P. Heckel. ``A technique for isolating differences between files.''
Communications of the ACM, Vol. 21, No. 4, page 264, April 1978.
Copyright (c) 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.