Skip to content

Commit

Permalink
bpo-45633: Fix newtypes doc typo (GH-29318) (GH-29364)
Browse files Browse the repository at this point in the history
(cherry picked from commit 454cdb9)

Co-authored-by: Dmitry Smirnov <dmitrysmirnov931@gmail.com>
  • Loading branch information
miss-islington and dmitrysmirnov931 committed Nov 3, 2021
1 parent cfdd7d2 commit 0624706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/extending/newtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0624706

Please sign in to comment.