[issue21344] save scores or ratios in difflib get_close_matches

Claudiu.Popa report at bugs.python.org
Thu Apr 24 16:58:45 CEST 2014


Claudiu.Popa added the comment:

It would be easier to review your patch if you'll upload it as a proper patch.

Usually for these cases (modifying the return by passing a specific argument) it's best to provide a new function with this functionality, by having get_close_matches and get_scored_close_matches (for instance),
which returns the modified result.

----------
nosy: +Claudiu.Popa

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21344>
_______________________________________


More information about the Python-bugs-list mailing list