Skip to content

check_spell_ec: fix the list parameter (python3 porting)

Luigi Toscano requested to merge ltoscano/pology:check_spell_ec-fix-list into master

The sort parameter used the very old (<= python 2.4) syntax which contains a comparator function between two values. The current syntax uses the key keyword and this specific example (use an existing function with cmp_to_key) is luckily explicitly documented in the python 3 sorting documentation.

Merge request reports

Loading