user722607
user722607

Reputation: 31

diff algorithm implementation in python

I checked out the source code of Python 2.6, and I want to study the diff implementation. However, I can not find the right source file. Could any one point me to whichever source file contains the algorithm implementation?

Upvotes: 2

Views: 4339

Answers (1)

Sven Marnach
Sven Marnach

Reputation: 601361

If by "diff implementation in Python" you mean the difflib module, then here is the source.

There is also a simple diff implementation based on this module in the Python source distribution.

Upvotes: 6

Related Questions