mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-107091: Fix some uses of :c:member: role (GH-107129)
This commit is contained in:
parent
737d1da074
commit
af61cb9c78
8 changed files with 16 additions and 14 deletions
|
@ -467,7 +467,7 @@ Module State Access from Slot Methods, Getters and Setters
|
|||
|
||||
Slot methods—the fast C equivalents for special methods, such as
|
||||
:c:member:`~PyNumberMethods.nb_add` for :py:attr:`~object.__add__` or
|
||||
:c:member:`~PyType.tp_new` for initialization—have a very simple API that
|
||||
:c:member:`~PyTypeObject.tp_new` for initialization—have a very simple API that
|
||||
doesn't allow passing in the defining class, unlike with :c:type:`PyCMethod`.
|
||||
The same goes for getters and setters defined with
|
||||
:c:type:`PyGetSetDef`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue