[Python-checkins] cpython (merge 3.5 -> 3.6): 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/fcb19fb42058
changeset:   106283:fcb19fb42058
branch:      3.6
parent:      106277:2a20a1647a28
parent:      106282:c0a9fb3e19b9
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Jan 23 12:30:35 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
@@ -2107,7 +2107,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