Overriding compare in SequenceMatcher

Peter Galfi galfip at freestart.hu
Mon Jan 26 05:58:12 EST 2004


I am trying to make a compare between two lists of numbers using the SequenceMatcher, however I would need somehow to override the method which is used by SequenceMatcher to determine if two elements of the list are equal or not.

In my specific case a number of the list might be equivalent with another number of the list yet their values would be different.

Any idea as to how what and how I can override or any workaround for this problem?

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040126/178de8d1/attachment.html>


More information about the Python-list mailing list