File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Explanation:
4242 :c:member: `~PyTypeObject.tp_finalize ` via
4343 :c:func: `PyObject_CallFinalizerFromDealloc ` if it wishes to reuse that code to
4444 help with object destruction. This is recommended because it guarantees that
45- :c:member: `tp_finalize ` is always called before destruction.
45+ :c:member: `! tp_finalize ` is always called before destruction.
4646* When :c:member: `~PyTypeObject.tp_dealloc ` finishes object destruction, it
4747 directly calls :c:member: `~PyTypeObject.tp_free ` to deallocate the memory.
4848
@@ -103,7 +103,7 @@ longer isolated due to finalizer resurrection (see
103103#. **Leaked: ** If a cyclic isolate still exists after all objects in the group
104104 have been finalized and cleared, then the objects remain indefinitely
105105 uncollectable (see :data: `gc.garbage `). It is a bug if a cyclic isolate
106- reaches this stage---it means the :c:member: `~PyTypeObjects .tp_clear ` methods
106+ reaches this stage---it means the :c:member: `~PyTypeObject .tp_clear ` methods
107107 have failed to break the reference cycle as required.
108108
109109If :c:member: `~PyTypeObject.tp_clear ` did not exist, then Python would have no
Original file line number Diff line number Diff line change @@ -2022,7 +2022,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
20222022 **Inheritance: **
20232023
20242024 Static subtypes inherit this slot, which will be
2025- :c:func: `PyType_GenericAlloc ` if inherited from :c:data: ` PyBaseObject_Type `.
2025+ :c:func: `PyType_GenericAlloc ` if inherited from :class: ` object `.
20262026
20272027 Dynamic subtypes (created by a class statement) do not inherit this slot.
20282028
@@ -2085,11 +2085,11 @@ and :c:data:`PyType_Type` effectively act as defaults.)
20852085 **Inheritance: **
20862086
20872087 Static subtypes inherit this slot, which will be :c:func: `PyObject_Free ` if
2088- inherited from :c:data: ` PyBaseObject_Type `. Exception: If the type supports
2089- garbage collection (i.e., the :c:macro: `Py_TPFLAGS_HAVE_GC ` flag is set in
2088+ inherited from :class: ` object `. Exception: If the type supports garbage
2089+ collection (i.e., the :c:macro: `Py_TPFLAGS_HAVE_GC ` flag is set in
20902090 :c:member: `~PyTypeObject.tp_flags `) and it would inherit
2091- :c:func: `PyObject_Free `, then this slot is not inherited but instead
2092- defaults to :c:func: `PyObject_GC_Del `.
2091+ :c:func: `PyObject_Free `, then this slot is not inherited but instead defaults
2092+ to :c:func: `PyObject_GC_Del `.
20932093
20942094 Dynamic subtypes (created by a class statement) do not inherit this slot.
20952095
You can’t perform that action at this time.
0 commit comments