summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorcsabella <chekat2@gmail.com>2017-03-30 00:27:50 (GMT)
committerSenthil Kumaran <skumaran@gatech.edu>2017-03-30 00:27:50 (GMT)
commitc3c7ef088583cc12bd218138036d1edb6de9c63f (patch)
tree583bed217a43e89fbcc1126c5469e2172af7aaa7 /Doc/c-api
parent85deefcf61d3cc192846f41a4ccc6df17da60c98 (diff)
downloadcpython-c3c7ef088583cc12bd218138036d1edb6de9c63f.zip
cpython-c3c7ef088583cc12bd218138036d1edb6de9c63f.tar.gz
cpython-c3c7ef088583cc12bd218138036d1edb6de9c63f.tar.bz2
bpo-29917: DOC: Remove link from PyMethodDef (#890)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/structures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index f481193..c080f31 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -241,7 +241,7 @@ definition with the same method name.
+==================+=============+===============================+
| :attr:`name` | char \* | name of the member |
+------------------+-------------+-------------------------------+
- | :attr:`type` | int | the type of the member in the |
+ | :attr:`!type` | int | the type of the member in the |
| | | C struct |
+------------------+-------------+-------------------------------+
| :attr:`offset` | Py_ssize_t | the offset in bytes that the |
@@ -256,7 +256,7 @@ definition with the same method name.
| | | docstring |
+------------------+-------------+-------------------------------+
- :attr:`type` can be one of many ``T_`` macros corresponding to various C
+ :attr:`!type` can be one of many ``T_`` macros corresponding to various C
types. When the member is accessed in Python, it will be converted to the
equivalent Python type.