summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Vashist <vivekvashist@gmail.com>2021-12-15 21:54:38 +1030
committerGitHub <noreply@github.com>2021-12-15 03:24:38 -0800
commitf025ae63dccf96c4a1d781a6438bd9ed1502f0a1 (patch)
tree1e9381025aff8468407ae6c01a9c01922da7ce38
parent0b50a4f0cdee41a18fb4ba6e75569f9cfaceb39e (diff)
downloadcpython-git-f025ae63dccf96c4a1d781a6438bd9ed1502f0a1.tar.gz
Add Positional only arguments forward slash (/) to sorted() function in Built-in Functions document (GH-30113)
sorted() function is missing forward slash (/) in Built-in Functions documentation page. Automerge-Triggered-By: GH:asvetlov
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index ebcd6c801d..059a058d58 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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*.