Skip to content

Commit 3ceca68

Browse files
authored
bpo-29917: DOC: Remove link from PyMethodDef (#890) (#896)
(cherry picked from commit c3c7ef0)
1 parent fd704a0 commit 3ceca68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/structures.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ definition with the same method name.
265265
+==================+=============+===============================+
266266
| :attr:`name` | char \* | name of the member |
267267
+------------------+-------------+-------------------------------+
268-
| :attr:`type` | int | the type of the member in the |
268+
| :attr:`!type` | int | the type of the member in the |
269269
| | | C struct |
270270
+------------------+-------------+-------------------------------+
271271
| :attr:`offset` | Py_ssize_t | the offset in bytes that the |
@@ -280,7 +280,7 @@ definition with the same method name.
280280
| | | docstring |
281281
+------------------+-------------+-------------------------------+
282282

283-
:attr:`type` can be one of many ``T_`` macros corresponding to various C
283+
:attr:`!type` can be one of many ``T_`` macros corresponding to various C
284284
types. When the member is accessed in Python, it will be converted to the
285285
equivalent Python type.
286286

0 commit comments

Comments
 (0)