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
This commit is contained in:
Vivek Vashist 2021-12-15 21:54:38 +10:30 committed by GitHub
parent 0b50a4f0cd
commit f025ae63dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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*.