Juhana Jauhiainen <juhana.jauhiai...@gmail.com> added the comment:

I created a pull request for this issue. It adds the description "(or other 
callable)" to two places in sorting documentation.

"function (or other callable) to be called on each list element prior to making
comparisons."

and later

"The value of the *key* parameter should be a function (or other callable) that 
takes a single argument and returns a key to use for sorting purposes."

----------
nosy: +Juhana.Jauhiainen

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39374>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to