Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8b1206

Browse files
committed
issue9014: Include more formatting on :c:type:PyObject etc.
2 parents b8dde4f + 0f2f3bc commit a8b1206

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/c-api/structures.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ the definition of all other Python objects.
2222
contains the information Python needs to treat a pointer to an object as an
2323
object. In a normal "release" build, it contains only the object's
2424
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
25+
Nothing is actually declared to be a :c:type:`PyObject`, but every pointer
26+
to a Python object can be cast to a :c:type:`PyObject*`. Access to the
27+
members must be done by using the macros :c:macro:`Py_REFCNT` and
2828
:c:macro:`Py_TYPE`.
2929

3030

0 commit comments

Comments
 (0)