Skip to content

Commit

Permalink
Issue python#26729: Fixed __text_signature__ for sorted().
Browse files Browse the repository at this point in the history
Patch by Erik Welch.
  • Loading branch information
serhiy-storchaka committed Jan 23, 2017
2 parents d1302c0 + ad94225 commit 9fa4a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,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"
Expand Down

0 comments on commit 9fa4a12

Please sign in to comment.