summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-23 10:29:47 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-23 10:29:47 (GMT)
commit3a1042567c887b7a995a8f921f50acba2761310c (patch)
tree778b6f3e0efbd2a9dec88fbc0659535df3ebceba /Python/bltinmodule.c
parent1fa08bcbbbe81d87b5e4fad6103ce5dc95766a5a (diff)
downloadcpython-3a1042567c887b7a995a8f921f50acba2761310c.zip
cpython-3a1042567c887b7a995a8f921f50acba2761310c.tar.gz
cpython-3a1042567c887b7a995a8f921f50acba2761310c.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 9f5db2a..33d2cc2 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2073,7 +2073,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"