From: csabella Date: Thu, 30 Mar 2017 00:27:50 +0000 (-0400) Subject: bpo-29917: DOC: Remove link from PyMethodDef (#890) X-Git-Tag: v3.7.0a1~1049 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3c7ef088583cc12bd218138036d1edb6de9c63f;p=python bpo-29917: DOC: Remove link from PyMethodDef (#890) --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index f48119391f..c080f317be 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.