Skip to content

Commit c3c7ef0

Browse files
csabellaorsenthil
authored andcommitted
bpo-29917: DOC: Remove link from PyMethodDef (#890)
1 parent 85deefc commit c3c7ef0

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
@@ -241,7 +241,7 @@ definition with the same method name.
241241
+==================+=============+===============================+
242242
| :attr:`name` | char \* | name of the member |
243243
+------------------+-------------+-------------------------------+
244-
| :attr:`type` | int | the type of the member in the |
244+
| :attr:`!type` | int | the type of the member in the |
245245
| | | C struct |
246246
+------------------+-------------+-------------------------------+
247247
| :attr:`offset` | Py_ssize_t | the offset in bytes that the |
@@ -256,7 +256,7 @@ definition with the same method name.
256256
| | | docstring |
257257
+------------------+-------------+-------------------------------+
258258

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

0 commit comments

Comments
 (0)