bpo-29917: DOC: Remove link from PyMethodDef (#890) (#896) · python/cpython@3ceca68 (original) (raw)
| Original file line number | Diff line number | Diff line change | | | | | --------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------- | | | @@ -265,7 +265,7 @@ definition with the same method name. | | | | | | | 265 | 265 | +==================+=============+===============================+ | | | | | 266 | 266 | | :attr:`name` | char \* | name of the member | | | 267 | 267 | +------------------+-------------+-------------------------------+ | | | | | 268 | | - | :attr:`type` | int | the type of the member in the | | | | 268 | + | :attr:`!type` | int | the type of the member in the | | | | 269 | 269 | | | | C struct | | | 270 | 270 | +------------------+-------------+-------------------------------+ | | | | | 271 | 271 | | :attr:`offset` | Py_ssize_t | the offset in bytes that the | | | @@ -280,7 +280,7 @@ definition with the same method name. | | | | | | | 280 | 280 | | | | docstring | | | 281 | 281 | +------------------+-------------+-------------------------------+ | | | | | 282 | 282 | | | | | | 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 | | | | | | 284 | 284 | types. When the member is accessed in Python, it will be converted to the | | | | | 285 | 285 | equivalent Python type. | | | | | 286 | 286 | | | | |