Kaydet (Commit) 3a104256 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Issue #26729: Fixed __text_signature__ for sorted().

Patch by Erik Welch.
üst 1fa08bcb
...@@ -2073,7 +2073,7 @@ reverse flag can be set to request the result in descending order. ...@@ -2073,7 +2073,7 @@ reverse flag can be set to request the result in descending order.
[end disabled clinic input]*/ [end disabled clinic input]*/
PyDoc_STRVAR(builtin_sorted__doc__, PyDoc_STRVAR(builtin_sorted__doc__,
"sorted($module, iterable, key=None, reverse=False)\n" "sorted($module, iterable, /, *, key=None, reverse=False)\n"
"--\n" "--\n"
"\n" "\n"
"Return a new list containing all items from the iterable in ascending order.\n" "Return a new list containing all items from the iterable in ascending order.\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment