Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f025ae6

Browse files
authored
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
1 parent 0b50a4f commit f025ae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ are always available. They are listed here in alphabetical order.
15711571
:func:`itertools.islice` for an alternate version that returns an iterator.
15721572

15731573

1574-
.. function:: sorted(iterable, *, key=None, reverse=False)
1574+
.. function:: sorted(iterable, /, *, key=None, reverse=False)
15751575

15761576
Return a new sorted list from the items in *iterable*.
15771577

0 commit comments

Comments
 (0)