]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45633: Fix newtypes doc typo (GH-29318)
authorDmitry Smirnov <dmitrysmirnov931@gmail.com>
Tue, 2 Nov 2021 14:47:06 +0000 (17:47 +0300)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 14:47:06 +0000 (22:47 +0800)
Doc/extending/newtypes.rst

index 23ec8bce8c5ac657deed93a5f9b4853f25a316d4..f75bee9e6f2a2b0950251aab6fb50f36928d6d2a 100644 (file)
@@ -393,7 +393,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