Skip to content

Commit 9fa4a12

Browse files
Issue python#26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
2 parents d1302c0 + ad94225 commit 9fa4a12

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

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

0 commit comments

Comments
 (0)