bpo-29917: DOC: Remove link from PyMethodDef (#890) · python/cpython@c3c7ef0 (original) (raw)
| Original file line number | Diff line number | Diff line change | | | | | --------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------- | | | @@ -241,7 +241,7 @@ definition with the same method name. | | | | | | | 241 | 241 | +==================+=============+===============================+ | | | | | 242 | 242 | | :attr:`name` | char \* | name of the member | | | 243 | 243 | +------------------+-------------+-------------------------------+ | | | | | 244 | | - | :attr:`type` | int | the type of the member in the | | | | 244 | + | :attr:`!type` | int | the type of the member in the | | | | 245 | 245 | | | | C struct | | | 246 | 246 | +------------------+-------------+-------------------------------+ | | | | | 247 | 247 | | :attr:`offset` | Py_ssize_t | the offset in bytes that the | | | @@ -256,7 +256,7 @@ definition with the same method name. | | | | | | | 256 | 256 | | | | docstring | | | 257 | 257 | +------------------+-------------+-------------------------------+ | | | | | 258 | 258 | | | | | | 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 | | | | | | 260 | 260 | types. When the member is accessed in Python, it will be converted to the | | | | | 261 | 261 | equivalent Python type. | | | | | 262 | 262 | | | | |