Skip to content
Open
Changes from all commits
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
12 changes: 6 additions & 6 deletions Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,19 +169,19 @@ Quick Reference

**"D"**: default (if slot is set to ``NULL``)

.. code-block:: none
.. parsed-literal::
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These break translations, see #135828.


X - PyType_Ready sets this value if it is NULL
~ - PyType_Ready always sets this value (it should be NULL)
? - PyType_Ready may set this value depending on other slots
X - :c:func:`PyType_Ready` sets this value if it is ``NULL``
~ - :c:func:`PyType_Ready` always sets this value (it should be ``NULL``)
? - :c:func:`PyType_Ready` may set this value depending on other slots

Also see the inheritance column ("I").

**"I"**: inheritance

.. code-block:: none
.. parsed-literal::

X - type slot is inherited via *PyType_Ready* if defined with a *NULL* value
X - type slot is inherited via :c:func:`PyType_Ready` if defined with a ``NULL`` value
% - the slots of the sub-struct are inherited individually
G - inherited, but only in combination with other slots; see the slot's description
? - it's complicated; see the slot's description
Expand Down
Loading