summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorDmitry Smirnov <dmitrysmirnov931@gmail.com>2021-11-02 14:47:06 (GMT)
committerGitHub <noreply@github.com>2021-11-02 14:47:06 (GMT)
commit454cdb99abcda37413b15167cda564091fec2572 (patch)
tree6c0d3408a7ad804dc22660ad63d46576e25306ac /Doc/extending
parent77a1f8d94c29da7bda4bd43e5a9c2233573d46ee (diff)
downloadcpython-454cdb99abcda37413b15167cda564091fec2572.zip
cpython-454cdb99abcda37413b15167cda564091fec2572.tar.gz
cpython-454cdb99abcda37413b15167cda564091fec2572.tar.bz2
bpo-45633: Fix newtypes doc typo (GH-29318)
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/newtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index 23ec8bc..f75bee9 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -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