Skip to content

Commit 3a10425

Browse files
Issue python#26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
1 parent 1fa08bc commit 3a10425

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ reverse flag can be set to request the result in descending order.
20732073
[end disabled clinic input]*/
20742074

20752075
PyDoc_STRVAR(builtin_sorted__doc__,
2076-
"sorted($module, iterable, key=None, reverse=False)\n"
2076+
"sorted($module, iterable, /, *, key=None, reverse=False)\n"
20772077
"--\n"
20782078
"\n"
20792079
"Return a new list containing all items from the iterable in ascending order.\n"

0 commit comments

Comments
 (0)