]> granicus.if.org Git - python/commitdiff
Issue #26729: Fixed __text_signature__ for sorted().
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 23 Jan 2017 10:29:47 +0000 (12:29 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 23 Jan 2017 10:29:47 +0000 (12:29 +0200)
Patch by Erik Welch.

Python/bltinmodule.c

index 9f5db2afe1fe51a48e2178d0b320eb84a3a6171f..33d2cc2dc8e2cfcb99e130d09b42249578920d24 100644 (file)
@@ -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"