diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-23 10:29:47 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-23 10:29:47 (GMT) |
commit | 3a1042567c887b7a995a8f921f50acba2761310c (patch) | |
tree | 778b6f3e0efbd2a9dec88fbc0659535df3ebceba | |
parent | 1fa08bcbbbe81d87b5e4fad6103ce5dc95766a5a (diff) | |
download | cpython-3a1042567c887b7a995a8f921f50acba2761310c.zip cpython-3a1042567c887b7a995a8f921f50acba2761310c.tar.gz cpython-3a1042567c887b7a995a8f921f50acba2761310c.tar.bz2 |
Issue #26729: Fixed __text_signature__ for sorted().
Patch by Erik Welch.
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 9f5db2a..33d2cc2 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" |