From: Dmitry Smirnov Date: Tue, 2 Nov 2021 14:47:06 +0000 (+0300) Subject: bpo-45633: Fix newtypes doc typo (GH-29318) X-Git-Tag: v3.11.0a2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=454cdb99abcda37413b15167cda564091fec2572;p=thirdparty%2FPython%2Fcpython.git bpo-45633: Fix newtypes doc typo (GH-29318) --- diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 23ec8bce8c5a..f75bee9e6f2a 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -393,7 +393,7 @@ analogous to the :ref:`rich comparison methods `, 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