@@ -348,8 +348,8 @@ The following functions and structs are used to create
348348
349349 The *bases* argument can be used to specify base classes; it can either
350350 be only one class or a tuple of classes.
351- If *bases * is ``NULL ``, the * Py_tp_bases * slot is used instead.
352- If that also is ``NULL ``, the * Py_tp_base * slot is used instead.
351+ If *bases * is ``NULL ``, the :c:data: ` Py_tp_bases ` slot is used instead.
352+ If that also is ``NULL ``, the :c:data: ` Py_tp_base ` slot is used instead.
353353 If that also is ``NULL ``, the new type derives from :class: `object `.
354354
355355 The *module * argument can be used to record the module in which the new
@@ -551,9 +551,9 @@ The following functions and structs are used to create
551551 :c:type: `PyAsyncMethods ` with an added ``Py_ `` prefix.
552552 For example, use:
553553
554- * `` Py_tp_dealloc ` ` to set :c:member: `PyTypeObject.tp_dealloc `
555- * `` Py_nb_add ` ` to set :c:member: `PyNumberMethods.nb_add `
556- * `` Py_sq_length ` ` to set :c:member: `PySequenceMethods.sq_length `
554+ * :c:data: ` Py_tp_dealloc ` to set :c:member: `PyTypeObject.tp_dealloc `
555+ * :c:data: ` Py_nb_add ` to set :c:member: `PyNumberMethods.nb_add `
556+ * :c:data: ` Py_sq_length ` to set :c:member: `PySequenceMethods.sq_length `
557557
558558 An additional slot is supported that does not correspond to a
559559 :c:type: `!PyTypeObject ` struct field:
@@ -572,7 +572,7 @@ The following functions and structs are used to create
572572
573573 If it is not possible to switch to a ``MANAGED`` flag (for example,
574574 for vectorcall or to support Python older than 3.12), specify the
575- offset in :c:member :`Py_tp_members <PyTypeObject.tp_members> `.
575+ offset in :c:data :`Py_tp_members`.
576576 See :ref:`PyMemberDef documentation <pymemberdef-offsets>`
577577 for details.
578578
@@ -600,7 +600,7 @@ The following functions and structs are used to create
600600
601601 .. versionchanged:: 3.14
602602 The field :c:member:`~PyTypeObject.tp_vectorcall` can now set
603- using `` Py_tp_vectorcall` `. See the field's documentation
603+ using :c:data:` Py_tp_vectorcall`. See the field's documentation
604604 for details.
605605
606606 .. c:member:: void *pfunc
@@ -610,7 +610,7 @@ The following functions and structs are used to create
610610
611611 *pfunc* values may not be ``NULL``, except for the following slots:
612612
613- * `` Py_tp_doc` `
613+ * :c:data:` Py_tp_doc`
614614 * :c:data:`Py_tp_token` (for clarity, prefer :c:data: `Py_TP_USE_SPEC `
615615 rather than ``NULL ``)
616616
0 commit comments