From: Gregory P. Smith Date: Tue, 14 Apr 2015 18:21:05 +0000 (-0700) Subject: issue9014: Include more formatting on :c:type:`PyObject` etc. X-Git-Tag: v3.5.0a4~53^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f2f3bc9db70a1faae520913041fc9c9e033eb0b;p=python issue9014: Include more formatting on :c:type:`PyObject` etc. --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 7f01c31602..7f1cc69148 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -22,9 +22,9 @@ the definition of all other Python objects. contains the information Python needs to treat a pointer to an object as an object. In a normal "release" build, it contains only the object's reference count and a pointer to the corresponding type object. - Nothing is actually declared to be a PyObject, but every pointer to a - Python object can be cast to a PyObject*. Access to the members - must be done by using the macros :c:macro:`Py_REFCNT` and + Nothing is actually declared to be a :c:type:`PyObject`, but every pointer + to a Python object can be cast to a :c:type:`PyObject*`. Access to the + members must be done by using the macros :c:macro:`Py_REFCNT` and :c:macro:`Py_TYPE`.