mirror of
https://github.com/python/cpython.git
synced 2025-08-16 06:40:56 +00:00
[3.11] gh-107091: Fix some uses of :c:member: role (GH-107129) (GH-107311)
(cherry picked from commit af61cb9c78
)
This commit is contained in:
parent
bd0def00b3
commit
cfa9f3b7cc
7 changed files with 13 additions and 11 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