commit | 8623a884c8f063facf56d26bcdbd16649c7b02bc | [log] [tgz] |
---|---|---|
author | Patrick Mezard <patrick@mezard.eu> | Sun Oct 20 16:51:51 2013 |
committer | Patrick Mezard <patrick@mezard.eu> | Mon Oct 21 20:50:12 2013 |
tree | dcc4b9f3ad1e3636ab5b391cb1f239932abf7d5a |
Initial port with SequenceMatcher and unified_diff() Ported from python default branch (29764a7bd6ba).
Here is a partial port of python 3 difflib package. Its main goal was to make available a unified diff implementation, mostly for testing purposes.
The following class and functions have be ported:
SequenceMatcher
unified_diff()
Related doctests have been ported as well.
I have barely used to code yet so do not consider it being production-ready. The API is likely to evolve too.