summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/c-api/object.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst
index c084860..fd3a6d2 100644
--- a/Doc/c-api/object.rst
+++ b/Doc/c-api/object.rst
@@ -109,7 +109,7 @@ Object Protocol
*opid*.
.. note::
- If *o1* and *o2* are the same object, :c:func:`PyObject_RichCompareBool`
+ If *o1* and *o2* are the same object, :cfunc:`PyObject_RichCompareBool`
will always return ``1`` for :const:`Py_EQ` and ``0`` for :const:`Py_NE`.
.. cfunction:: PyObject* PyObject_Repr(PyObject *o)