]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141343: Fix swapped words in `sorted` doc (GH-141348)
authorYongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Mon, 10 Nov 2025 14:55:15 +0000 (22:55 +0800)
committerGitHub <noreply@github.com>
Mon, 10 Nov 2025 14:55:15 +0000 (08:55 -0600)
Doc/library/functions.rst

index 61799e303a163931326ec75c171f44548502cb75..e98793975556ef342095a391f83040b65342423a 100644 (file)
@@ -1859,7 +1859,7 @@ are always available.  They are listed here in alphabetical order.
    the same data with other ordering tools such as :func:`max` that rely
    on a different underlying method.  Implementing all six comparisons
    also helps avoid confusion for mixed type comparisons which can call
-   reflected the :meth:`~object.__gt__` method.
+   the reflected :meth:`~object.__gt__` method.
 
    For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`.