summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-23 10:30:59 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-23 10:30:59 (GMT)
commit9fa4a120f0c8e52a8823cb4321020b8d4beedc00 (patch)
treee4f8719d43e1d3e53133984e0af4c0310f01c65d /Python
parentd1302c01544317267345970f351a015626b54f61 (diff)
parentad9422559fc9845d043009f136ee5019a09bbb7e (diff)
downloadcpython-9fa4a120f0c8e52a8823cb4321020b8d4beedc00.zip
cpython-9fa4a120f0c8e52a8823cb4321020b8d4beedc00.tar.gz
cpython-9fa4a120f0c8e52a8823cb4321020b8d4beedc00.tar.bz2
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 2204344..763c2a2 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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"