Skip to content

Commit 32c9ab3

Browse files
committed
Use parsed-literal for the slot column legend in c-api/typeobj.rst
1 parent 618b726 commit 32c9ab3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/c-api/typeobj.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,19 +169,19 @@ Quick Reference
169169
170170
**"D"**: default (if slot is set to ``NULL``)
171171
172-
.. code-block:: none
172+
.. parsed-literal::
173173
174-
X - PyType_Ready sets this value if it is NULL
175-
~ - PyType_Ready always sets this value (it should be NULL)
176-
? - PyType_Ready may set this value depending on other slots
174+
X - :c:func:`PyType_Ready` sets this value if it is ``NULL``
175+
~ - :c:func:`PyType_Ready` always sets this value (it should be ``NULL``)
176+
? - :c:func:`PyType_Ready` may set this value depending on other slots
177177
178178
Also see the inheritance column ("I").
179179
180180
**"I"**: inheritance
181181
182-
.. code-block:: none
182+
.. parsed-literal::
183183
184-
X - type slot is inherited via *PyType_Ready* if defined with a *NULL* value
184+
X - type slot is inherited via :c:func:`PyType_Ready` if defined with a ``NULL`` value
185185
% - the slots of the sub-struct are inherited individually
186186
G - inherited, but only in combination with other slots; see the slot's description
187187
? - it's complicated; see the slot's description

0 commit comments

Comments
 (0)