diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-11-03 09:30:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 09:30:02 (GMT) |
commit | 06247061798a1ac402940d6ec04604ffa0be6c7a (patch) | |
tree | f354cd4ddf435607dd3eb0372c1c2c7363fef6ed /Doc/extending | |
parent | cfdd7d26a72e7ae523039e40c11001c2d7ef36ba (diff) | |
download | cpython-06247061798a1ac402940d6ec04604ffa0be6c7a.zip cpython-06247061798a1ac402940d6ec04604ffa0be6c7a.tar.gz cpython-06247061798a1ac402940d6ec04604ffa0be6c7a.tar.bz2 |
bpo-45633: Fix newtypes doc typo (GH-29318) (GH-29364)
(cherry picked from commit 454cdb99abcda37413b15167cda564091fec2572)
Co-authored-by: Dmitry Smirnov <dmitrysmirnov931@gmail.com>
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/newtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 23ec8bc..f75bee9 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 |