ilya-yurtaev/django-declension — comment on commit b4720cca65d8087f6e0537a66aa85894cc566e6e
File:  line 0
By gugu:

you can use getattr(word, inflection, name) :)