@@ -492,10 +492,9 @@ metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that it
492492type objects) *must * have the :c:member: `~PyVarObject.ob_size ` field.
493493
494494
495- .. c :member :: Py_ssize_t PyObject.ob_refcnt
496- :noindex:
495+ :c:member: `PyObject.ob_refcnt `
497496
498- This is the type object's reference count, initialized to ``1 `` by the
497+ The type object's reference count is initialized to ``1 `` by the
499498 ``PyObject_HEAD_INIT `` macro. Note that for :ref: `statically allocated type
500499 objects <static-types>`, the type's instances (objects whose :c:member: `~PyObject.ob_type `
501500 points back to the type) do *not * count as references. But for
@@ -507,8 +506,7 @@ type objects) *must* have the :c:member:`~PyVarObject.ob_size` field.
507506 This field is not inherited by subtypes.
508507
509508
510- .. c :member :: PyTypeObject* PyObject.ob_type
511- :noindex:
509+ :c:member: `PyObject.ob_type `
512510
513511 This is the type's type, in other words its metatype. It is initialized by the
514512 argument to the ``PyObject_HEAD_INIT `` macro, and its value should normally be
@@ -534,15 +532,13 @@ type objects) *must* have the :c:member:`~PyVarObject.ob_size` field.
534532PyVarObject Slots
535533-----------------
536534
537- .. c :member :: Py_ssize_t PyVarObject.ob_size
538- :noindex:
535+ :c:member: `PyVarObject.ob_size `
539536
540537 For :ref: `statically allocated type objects <static-types >`, this should be
541538 initialized to zero. For :ref: `dynamically allocated type objects
542539 <heap-types>`, this field has a special internal meaning.
543540
544- This field should be accessed using the :c:func: `Py_SIZE() ` and
545- :c:func: `Py_SET_SIZE() ` macros.
541+ This field should be accessed using the :c:func: `Py_SIZE() ` macro.
546542
547543 **Inheritance: **
548544
0 commit comments