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

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

index ca056d67cb89ec420e115b31a69b1aa439ff45a7..04b5dc5bf8206e86b35dce48760d3bea18fd16f3 100644 (file)
@@ -1876,7 +1876,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`.