summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-07-07 05:00:43 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-07-07 05:00:43 (GMT)
commit4ffc3d44804ae019ed801db48ff674adc53ce0c9 (patch)
treee4f5161b4964a2e01467a5b0ebd2f248db2173b2 /Doc
parent1a7df86c46a08ef1ec548fb8f8e1f14f5a07a1af (diff)
parente36402a83041007b34a111fb20ede88abf4cb223 (diff)
downloadcpython-4ffc3d44804ae019ed801db48ff674adc53ce0c9.zip
cpython-4ffc3d44804ae019ed801db48ff674adc53ce0c9.tar.gz
cpython-4ffc3d44804ae019ed801db48ff674adc53ce0c9.tar.bz2
Merge 3.4
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/structures.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index b925a61..e9e8add 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -60,7 +60,7 @@ the definition of all other Python objects.
.. c:macro:: Py_TYPE(o)
- This macro is used to access the `ob_type` member of a Python object.
+ This macro is used to access the :attr:`ob_type` member of a Python object.
It expands to::
(((PyObject*)(o))->ob_type)
@@ -68,7 +68,8 @@ the definition of all other Python objects.
.. c:macro:: Py_REFCNT(o)
- This macro is used to access the `ob_refcnt` member of a Python object.
+ This macro is used to access the :attr:`ob_refcnt` member of a Python
+ object.
It expands to::
(((PyObject*)(o))->ob_refcnt)
@@ -76,7 +77,7 @@ the definition of all other Python objects.
.. c:macro:: Py_SIZE(o)
- This macro is used to access the `ob_size` member of a Python object.
+ This macro is used to access the :attr:`ob_size` member of a Python object.
It expands to::
(((PyVarObject*)(o))->ob_size)