@@ -383,8 +383,8 @@ The following functions and structs are used to create
383383
384384 The *bases* argument can be used to specify base classes; it can either
385385 be only one class or a tuple of classes.
386- If *bases * is ``NULL ``, the * Py_tp_bases * slot is used instead.
387- If that also is ``NULL ``, the * Py_tp_base * slot is used instead.
386+ If *bases * is ``NULL ``, the :c:data: ` Py_tp_bases ` slot is used instead.
387+ If that also is ``NULL ``, the :c:data: ` Py_tp_base ` slot is used instead.
388388 If that also is ``NULL ``, the new type derives from :class: `object `.
389389
390390 The *module * argument can be used to record the module in which the new
@@ -590,9 +590,9 @@ The following functions and structs are used to create
590590 :c:type: `PyAsyncMethods ` with an added ``Py_ `` prefix.
591591 For example, use:
592592
593- * `` Py_tp_dealloc ` ` to set :c:member: `PyTypeObject.tp_dealloc `
594- * `` Py_nb_add ` ` to set :c:member: `PyNumberMethods.nb_add `
595- * `` Py_sq_length ` ` to set :c:member: `PySequenceMethods.sq_length `
593+ * :c:data: ` Py_tp_dealloc ` to set :c:member: `PyTypeObject.tp_dealloc `
594+ * :c:data: ` Py_nb_add ` to set :c:member: `PyNumberMethods.nb_add `
595+ * :c:data: ` Py_sq_length ` to set :c:member: `PySequenceMethods.sq_length `
596596
597597 An additional slot is supported that does not correspond to a
598598 :c:type: `!PyTypeObject ` struct field:
@@ -611,7 +611,7 @@ The following functions and structs are used to create
611611
612612 If it is not possible to switch to a ``MANAGED`` flag (for example,
613613 for vectorcall or to support Python older than 3.12), specify the
614- offset in :c:member :`Py_tp_members <PyTypeObject.tp_members> `.
614+ offset in :c:data :`Py_tp_members`.
615615 See :ref:`PyMemberDef documentation <pymemberdef-offsets>`
616616 for details.
617617
@@ -639,7 +639,7 @@ The following functions and structs are used to create
639639
640640 .. versionchanged:: 3.14
641641 The field :c:member:`~PyTypeObject.tp_vectorcall` can now set
642- using `` Py_tp_vectorcall` `. See the field's documentation
642+ using :c:data:` Py_tp_vectorcall`. See the field's documentation
643643 for details.
644644
645645 .. c:member:: void *pfunc
@@ -649,7 +649,7 @@ The following functions and structs are used to create
649649
650650 *pfunc* values may not be ``NULL``, except for the following slots:
651651
652- * `` Py_tp_doc` `
652+ * :c:data:` Py_tp_doc`
653653 * :c:data:`Py_tp_token` (for clarity, prefer :c:data: `Py_TP_USE_SPEC `
654654 rather than ``NULL ``)
655655
0 commit comments