]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45633: Fix newtypes doc typo (GH-29318) (GH-29365)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Nov 2021 09:30:59 +0000 (02:30 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Nov 2021 09:30:59 +0000 (17:30 +0800)
(cherry picked from commit 454cdb99abcda37413b15167cda564091fec2572)

Co-authored-by: Dmitry Smirnov <dmitrysmirnov931@gmail.com>
Doc/extending/newtypes.rst

index 638b00a4c0f683a402cb0a0d02596b6b4f26eaa4..7c51d8e29cd42c2ec328c269755aac90fccb782b 100644 (file)
@@ -388,7 +388,7 @@ analogous to the :ref:`rich comparison methods <richcmpfuncs>`, like
 :c:func:`PyObject_RichCompareBool`.
 
 This function is called with two Python objects and the operator as arguments,
-where the operator is one of ``Py_EQ``, ``Py_NE``, ``Py_LE``, ``Py_GT``,
+where the operator is one of ``Py_EQ``, ``Py_NE``, ``Py_LE``, ``Py_GE``,
 ``Py_LT`` or ``Py_GT``.  It should compare the two objects with respect to the
 specified operator and return ``Py_True`` or ``Py_False`` if the comparison is
 successful, ``Py_NotImplemented`` to indicate that comparison is not