diff options
author | Gregory P. Smith <greg@krypto.org> | 2015-04-14 18:21:26 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2015-04-14 18:21:26 (GMT) |
commit | a8b120641bd286bb0be663c5486077e2e61863ba (patch) | |
tree | 9f5468ad0d3cdea1347c6d315a3b2aace36a77d8 /Doc | |
parent | b8dde4f5c3c56c6395f4fa0ab447c293c04ac4f9 (diff) | |
parent | 0f2f3bc9db70a1faae520913041fc9c9e033eb0b (diff) | |
download | cpython-a8b120641bd286bb0be663c5486077e2e61863ba.zip cpython-a8b120641bd286bb0be663c5486077e2e61863ba.tar.gz cpython-a8b120641bd286bb0be663c5486077e2e61863ba.tar.bz2 |
issue9014: Include more formatting on :c:type:`PyObject` etc.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/structures.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 7f01c31..7f1cc69 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`. |