Skip to content

Commit

Permalink
Add Positional only arguments forward slash (/) to sorted() function …
Browse files Browse the repository at this point in the history
…in Built-in Functions document (GH-30113)

sorted() function is missing forward slash (/) in Built-in Functions documentation page.

Automerge-Triggered-By: GH:asvetlov
  • Loading branch information
vivekvashist committed Dec 15, 2021
1 parent 0b50a4f commit f025ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Expand Up @@ -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*.

Expand Down

0 comments on commit f025ae6

Please sign in to comment.