Commit 3ceca687 authored by Senthil Kumaran's avatar Senthil Kumaran Committed by GitHub

bpo-29917: DOC: Remove link from PyMethodDef (#890) (#896)

(cherry picked from commit c3c7ef08)
parent fd704a02
...@@ -265,7 +265,7 @@ definition with the same method name. ...@@ -265,7 +265,7 @@ definition with the same method name.
+==================+=============+===============================+ +==================+=============+===============================+
| :attr:`name` | char \* | name of the member | | :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 | | | | C struct |
+------------------+-------------+-------------------------------+ +------------------+-------------+-------------------------------+
| :attr:`offset` | Py_ssize_t | the offset in bytes that the | | :attr:`offset` | Py_ssize_t | the offset in bytes that the |
...@@ -280,7 +280,7 @@ definition with the same method name. ...@@ -280,7 +280,7 @@ definition with the same method name.
| | | docstring | | | | 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 types. When the member is accessed in Python, it will be converted to the
equivalent Python type. equivalent Python type.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment