Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't add "old" fragments for PyMemberDef and PyGetSetDef
These were only marked up in 3.12 (gh-97909), so they don't need
backcompat backflips.
  • Loading branch information
encukou committed Dec 6, 2022
commit cc57955612ed971eddb7363e6014c4179fe0e09d
18 changes: 0 additions & 18 deletions Doc/c-api/structures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,6 @@ definition with the same method name.
Accessing attributes of extension types
---------------------------------------

.. raw:: html

<!-- Keep old URL fragments working (see gh-97908) -->
<span id='c.PyMemberDef.PyMemberDef.name'></span>
<span id='c.PyMemberDef.PyMemberDef.offset'></span>
<span id='c.PyMemberDef.PyMemberDef.type'></span>
<span id='c.PyMemberDef.PyMemberDef.flags'></span>
<span id='c.PyMemberDef.PyMemberDef.doc'></span>

.. c:type:: PyMemberDef

Structure which describes an attribute of a type which corresponds to a C
Expand Down Expand Up @@ -612,15 +603,6 @@ Macro name C type Python type
Defining Getters and Setters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. raw:: html

<!-- Keep old URL fragments working (see gh-97908) -->
<span id='c.PyGetSetDef.PyGetSetDef.name'></span>
<span id='c.PyGetSetDef.PyGetSetDef.get'></span>
<span id='c.PyGetSetDef.PyGetSetDef.set'></span>
<span id='c.PyGetSetDef.PyGetSetDef.docstring'></span>
<span id='c.PyGetSetDef.PyGetSetDef.closure'></span>

.. c:type:: PyGetSetDef

Structure to define property-like access for a type. See also description of
Expand Down