From: Serhiy Storchaka Date: Mon, 23 Jan 2017 10:29:47 +0000 (+0200) Subject: Issue #26729: Fixed __text_signature__ for sorted(). X-Git-Tag: v3.6.1rc1~146^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a1042567c887b7a995a8f921f50acba2761310c;p=thirdparty%2FPython%2Fcpython.git Issue #26729: Fixed __text_signature__ for sorted(). Patch by Erik Welch. --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 9f5db2afe1fe..33d2cc2dc8e2 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"