]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-141343: Fix swapped words in `sorted` doc (GH-141357)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Nov 2025 15:01:30 +0000 (16:01 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Nov 2025 15:01:30 +0000 (15:01 +0000)
(cherry picked from commit 59b793b0dd76d37229fe6d379cd5fe76023d15f1)

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Doc/library/functions.rst

index d25a6efd003c8ebf028197f654c2360c84faa9c9..c66486d3908aa7b3fa91a565503d2b1910368559 100644 (file)
@@ -1887,7 +1887,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`.