8000 gh-97908: CAPI docs: Remove repeated struct names from member docs by encukou · Pull Request #100054 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-97908: CAPI docs: Remove repeated struct names from member docs #100054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 29, 2023
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
0