[Python-checkins] bpo-45633: Fix newtypes doc typo (GH-29318)

Fidget-Spinner webhook-mailer at python.org
Tue Nov 2 10:47:31 EDT 2021


https://github.com/python/cpython/commit/454cdb99abcda37413b15167cda564091fec2572
commit: 454cdb99abcda37413b15167cda564091fec2572
branch: main
author: Dmitry Smirnov <dmitrysmirnov931 at gmail.com>
committer: Fidget-Spinner <28750310+Fidget-Spinner at users.noreply.github.com>
date: 2021-11-02T22:47:06+08:00
summary:

bpo-45633: Fix newtypes doc typo (GH-29318)

files:
M Doc/extending/newtypes.rst

diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index 23ec8bce8c5ac..f75bee9e6f2a2 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



More information about the Python-checkins mailing list