Carlos Segura González <carlos.seg...@cimat.mx> added the comment:

The thing is that even in the "Language Reference" is not correct. In 
"https://docs.python.org/3/library/functions.html#sorted"; it is stated "key 
specifies a function of one argument that is used to extract a comparison 
key..."

I think that it is better to use the term callable object. In the case of the 
HOW-TO, maybe it would be good to clarify that a function is an example of a 
callable object or include a reference or something like that.

----------

_______________________________________
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