ztane / python-Levenshtein

The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
GNU General Public License v2.0
1.26k stars 155 forks source link

get_matching_blocks() fails on python3 #14 #15

Closed ojomio closed 9 years ago

ojomio commented 10 years ago

Now checks item not only for being an instance of bytes, but also checks to be an instance of str

Please check if this is acceptable! It solves my problem but I am not certain as to which are the correct architecture principles here