summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-12-15 12:59:01 (GMT)
committerGitHub <noreply@github.com>2021-12-15 12:59:01 (GMT)
commitc8044777cf8c4e9bf05d1ab69fd4005089709147 (patch)
treec4e28ea6750baa0c2b1e8245d6ebed0aafa0771f /Doc
parent8e4c96295bd78ae5f70b908e5dbac0da7c4c21bd (diff)
downloadcpython-c8044777cf8c4e9bf05d1ab69fd4005089709147.zip
cpython-c8044777cf8c4e9bf05d1ab69fd4005089709147.tar.gz
cpython-c8044777cf8c4e9bf05d1ab69fd4005089709147.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 (cherry picked from commit f025ae63dccf96c4a1d781a6438bd9ed1502f0a1) Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
Diffstat (limited to 'Doc')
-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 a117d30..9a9c87e 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1582,7 +1582,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*.