From 3a1042567c887b7a995a8f921f50acba2761310c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 23 Jan 2017 12:29:47 +0200 Subject: [PATCH] Issue #26729: Fixed __text_signature__ for sorted(). Patch by Erik Welch. --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 9f5db2afe1f..33d2cc2dc8e 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"