[issue40576] Align docs for list.sort, sorted, and on the website

Sam Lijin report at bugs.python.org
Sat May 9 10:26:45 EDT 2020


Sam Lijin <python at sxlijin.com> added the comment:

I do clarify that they're not the same thing and that `sorted` accepts any iterable: https://github.com/python/cpython/pull/20017/files#diff-30d76a3dc0c885f86917b7d307ccf279

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40576>
_______________________________________


More information about the Python-bugs-list mailing list