From e5713c65d07cf623107e2c0f78763e55cf95d32a Mon Sep 17 00:00:00 2001 From: za Date: Tue, 2 Nov 2021 17:34:24 +0700 Subject: [PATCH] bpo-45633: Change duplicated Py_GT to PyGE --- Doc/extending/newtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 23ec8bce8c5ac6..7789d993f3c344 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -394,7 +394,7 @@ analogous to the :ref:`rich comparison methods `, like 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``, -``Py_LT`` or ``Py_GT``. It should compare the two objects with respect to the +``Py_LT`` or ``Py_GE``. 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 implemented and the other object's comparison method should be tried, or ``NULL``