summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-23 10:30:35 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-23 10:30:35 (GMT)
commitad9422559fc9845d043009f136ee5019a09bbb7e (patch)
tree83cff2fd4ff1398876145ffe1768a48b14f540b1 /Python/bltinmodule.c
parent9358a6e62b32b6287cd0ecd478f4914d16beba5a (diff)
parent3a1042567c887b7a995a8f921f50acba2761310c (diff)
downloadcpython-ad9422559fc9845d043009f136ee5019a09bbb7e.zip
cpython-ad9422559fc9845d043009f136ee5019a09bbb7e.tar.gz
cpython-ad9422559fc9845d043009f136ee5019a09bbb7e.tar.bz2
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 8acdfc3..ef5a34c 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2107,7 +2107,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"