New submission from Carlos Segura González <carlos.seg...@cimat.mx>:

In the Documentation, the "Sorting HOW TO" 
(https://docs.python.org/3/howto/sorting.html) states that "have a key 
parameter to specify a function to be called". However, it might be other 
callable objects. In fact, some of the examples given in the documentation are 
not with functions.

I suggest: "have a key parameter to specify a callable object that is called..."

----------
assignee: docs@python
components: Documentation
messages: 360219
nosy: Carlos Segura González, docs@python
priority: normal
severity: normal
status: open
title: Key in sort -> Callable Object instead of function
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
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