]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add Positional only arguments forward slash (/) to sorted() function in Built-in...
authorVivek Vashist <vivekvashist@gmail.com>
Wed, 15 Dec 2021 11:24:38 +0000 (21:54 +1030)
committerGitHub <noreply@github.com>
Wed, 15 Dec 2021 11:24:38 +0000 (03:24 -0800)
sorted() function is missing forward slash (/) in Built-in Functions documentation page.

Automerge-Triggered-By: GH:asvetlov
Doc/library/functions.rst

index ebcd6c801d70e4d1b75b2f851af6d21dadc564dd..059a058d5888c9cfa955e38e8c8f14a120f0fcf1 100644 (file)
@@ -1571,7 +1571,7 @@ are always available.  They are listed here in alphabetical order.
    :func:`itertools.islice` for an alternate version that returns an iterator.
 
 
-.. function:: sorted(iterable, *, key=None, reverse=False)
+.. function:: sorted(iterable, /, *, key=None, reverse=False)
 
    Return a new sorted list from the items in *iterable*.