diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-12-15 12:59:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 12:59:01 (GMT) |
commit | c8044777cf8c4e9bf05d1ab69fd4005089709147 (patch) | |
tree | c4e28ea6750baa0c2b1e8245d6ebed0aafa0771f /Doc | |
parent | 8e4c96295bd78ae5f70b908e5dbac0da7c4c21bd (diff) | |
download | cpython-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.rst | 2 |
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*. |