mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
This commit is contained in:
commit
ad9422559f
1 changed files with 1 additions and 1 deletions
|
@ -2107,7 +2107,7 @@ reverse flag can be set to request the result in descending order.
|
|||
[end disabled clinic input]*/
|
||||
|
||||
PyDoc_STRVAR(builtin_sorted__doc__,
|
||||
"sorted($module, iterable, key=None, reverse=False)\n"
|
||||
"sorted($module, iterable, /, *, key=None, reverse=False)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Return a new list containing all items from the iterable in ascending order.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue