mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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 f025ae63dc)
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
This commit is contained in:
parent
8e4c96295b
commit
c8044777cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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*.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue