diff options
author | Vivek Vashist <vivekvashist@gmail.com> | 2021-12-15 11:24:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 11:24:38 (GMT) |
commit | f025ae63dccf96c4a1d781a6438bd9ed1502f0a1 (patch) | |
tree | 1e9381025aff8468407ae6c01a9c01922da7ce38 | |
parent | 0b50a4f0cdee41a18fb4ba6e75569f9cfaceb39e (diff) | |
download | cpython-f025ae63dccf96c4a1d781a6438bd9ed1502f0a1.zip cpython-f025ae63dccf96c4a1d781a6438bd9ed1502f0a1.tar.gz cpython-f025ae63dccf96c4a1d781a6438bd9ed1502f0a1.tar.bz2 |
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.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index ebcd6c8..059a058 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*. |