@@ -567,12 +567,12 @@ and :c:data:`PyType_Type` effectively act as defaults.)
567567
568568   For :ref: `statically allocated type objects  <static-types >`,
569569   the *tp_name * field should contain a dot.
570-    Everything before the last dot is made accessible as the :attr: `__module__ `
570+    Everything before the last dot is made accessible as the :attr: `~type. __module__
571571   attribute, and everything after the last dot is made accessible as the
572-    :attr: `~definition .__name__ ` attribute.
572+    :attr: `~type .__name__ ` attribute.
573573
574574   If no dot is present, the entire :c:member: `~PyTypeObject.tp_name ` field is made accessible as the
575-    :attr: `~definition .__name__ ` attribute, and the :attr: `__module__ ` attribute is undefined
575+    :attr: `~type .__name__ ` attribute, and the :attr: `~type. __module__
576576   (unless explicitly set in the dictionary, as explained above).  This means your
577577   type will be impossible to pickle.  Additionally, it will not be listed in
578578   module documentations created with pydoc.
@@ -1131,7 +1131,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
11311131
11321132   .. c :macro :: Py_TPFLAGS_MANAGED_DICT 
11331133
1134- ` __dict__ ` `
1134+ ~object. __dict__
11351135      attribute, and that the space for the dictionary is managed by the VM.
11361136
11371137      If this flag is set, :c:macro: `Py_TPFLAGS_HAVE_GC ` should also be set.
@@ -1335,8 +1335,8 @@ and :c:data:`PyType_Type` effectively act as defaults.)
13351335.. c :member :: const  char * PyTypeObject.tp_doc 
13361336
13371337
1338-    type object.  This is exposed as the :attr: `__doc__ ` attribute on the type and 
1339-    instances of the type.
1338+    type object.  This is exposed as the :attr: `~type. __doc__
1339+    type and  instances of the type.
13401340
13411341   **Inheritance: **
13421342
@@ -2036,7 +2036,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
20362036
20372037
20382038   To get a list of subclasses, call the Python method
2039-    :py:meth: `~class .__subclasses__ `.
2039+    :py:meth: `~type .__subclasses__ `.
20402040
20412041   .. versionchanged :: 3.12 
20422042
0 commit comments