bpo-29917: DOC: Remove link from PyMethodDef (#890) · python/cpython@c3c7ef0

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