News for hackers. Stuff that matters.
Re:Functools – The Power of Higher-Order Functions in Python by masklinn on Friday July 09, 2021 @12:41AM (#27780533)
> - sortBy is just lst.sort(key=fn)

You mean sorted(). list.sort only works on list and in-place.

There are no comments on this comment yet.