[Python-checkins] cpython (3.5): Issue #26729: Fixed __text_signature__ for sorted().
serhiy.storchaka
python-checkins at python.org
Mon Jan 23 05:31:18 EST 2017
https://hg.python.org/cpython/rev/c0a9fb3e19b9
changeset: 106282:c0a9fb3e19b9
branch: 3.5
parent: 106276:15fff7b86eeb
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Jan 23 12:29:47 2017 +0200
summary:
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
files:
Python/bltinmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2073,7 +2073,7 @@
[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"
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list