From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 15 Dec 2021 12:59:01 +0000 (-0800) Subject: Add Positional only arguments forward slash (/) to sorted() function in Built-in... X-Git-Tag: v3.10.2~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8044777cf8c4e9bf05d1ab69fd4005089709147;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index a117d30c0b0d..9a9c87e32013 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*.