Skip to content

Commit 3a93c66

Browse files
bpo-45633: Fix newtypes doc typo (pythonGH-29318) (pythonGH-29365)
(cherry picked from commit 454cdb9) Co-authored-by: Dmitry Smirnov <[email protected]>
1 parent bbcf06b commit 3a93c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/extending/newtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ analogous to the :ref:`rich comparison methods <richcmpfuncs>`, like
388388
:c:func:`PyObject_RichCompareBool`.
389389

390390
This function is called with two Python objects and the operator as arguments,
391-
where the operator is one of ``Py_EQ``, ``Py_NE``, ``Py_LE``, ``Py_GT``,
391+
where the operator is one of ``Py_EQ``, ``Py_NE``, ``Py_LE``, ``Py_GE``,
392392
``Py_LT`` or ``Py_GT``. It should compare the two objects with respect to the
393393
specified operator and return ``Py_True`` or ``Py_False`` if the comparison is
394394
successful, ``Py_NotImplemented`` to indicate that comparison is not

0 commit comments

Comments
 (0)