Skip to content

Commit ad94225

Browse files
Issue python#26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
2 parents 9358a6e + 3a10425 commit ad94225

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
@@ -2107,7 +2107,7 @@ reverse flag can be set to request the result in descending order.
21072107
[end disabled clinic input]*/
21082108

21092109
PyDoc_STRVAR(builtin_sorted__doc__,
2110-
"sorted($module, iterable, key=None, reverse=False)\n"
2110+
"sorted($module, iterable, /, *, key=None, reverse=False)\n"
21112111
"--\n"
21122112
"\n"
21132113
"Return a new list containing all items from the iterable in ascending order.\n"

0 commit comments

Comments
 (0)