summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-04-30 09:02:12 +0300
committerEli Bendersky <eliben@gmail.com>2011-04-30 09:02:12 +0300
commit14fb1a9901d0b5eb9142ef69bd26906a07543d93 (patch)
tree6827c348756b343ebbd87a6e746ea5944707a2b8
parentd7e08212c4f71d3ae09411801b055d98257043af (diff)
downloadcpython-14fb1a9901d0b5eb9142ef69bd26906a07543d93.tar.gz
fix formatting, :c:func: --> :cfunc:
-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 771667a3d6..717fb089fe 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:: int PyObject_Cmp(PyObject *o1, PyObject *o2, int *result)