PyObject
1 parent 1b24465 commit 0f2f3bcCopy full SHA for 0f2f3bc
1 file changed
Doc/c-api/structures.rst
@@ -22,9 +22,9 @@ the definition of all other Python objects.
22
contains the information Python needs to treat a pointer to an object as an
23
object. In a normal "release" build, it contains only the object's
24
reference count and a pointer to the corresponding type object.
25
- Nothing is actually declared to be a PyObject, but every pointer to a
26
- Python object can be cast to a PyObject*. Access to the members
27
- 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
28
:c:macro:`Py_TYPE`.
29
30
0 commit comments