@@ -131,15 +131,15 @@ class instances, classes in extension modules, etc. One could think that
131
131
cycles are uncommon but the truth is that many internal references needed by
132
132
the interpreter create cycles everywhere. Some notable examples:
133
133
134
- * Exceptions contain traceback objects that contain a list of frames that
135
- contain the exception itself.
136
- * Module-level functions reference the module's dict (which is needed to resolve globals),
137
- which in turn contains entries for the module-level functions.
138
- * Instances have references to their class which itself references its module, and the module
139
- contains references to everything that is inside (and maybe other modules)
140
- and this can lead back to the original instance.
141
- * When representing data structures like graphs, it is very typical for them to
142
- have internal links to themselves.
134
+ * Exceptions contain traceback objects that contain a list of frames that
135
+ contain the exception itself.
136
+ * Module-level functions reference the module's dict (which is needed to resolve globals),
137
+ which in turn contains entries for the module-level functions.
138
+ * Instances have references to their class which itself references its module, and the module
139
+ contains references to everything that is inside (and maybe other modules)
140
+ and this can lead back to the original instance.
141
+ * When representing data structures like graphs, it is very typical for them to
142
+ have internal links to themselves.
143
143
144
144
To correctly dispose of these objects once they become unreachable, they need to be
145
145
identified first. Inside the function that identifies cycles, two doubly linked
@@ -417,13 +417,13 @@ word-aligned addresses end in ``000``, leaving the last 3 bits available.
417
417
The CPython GC makes use of two fat pointers that correspond to the extra fields
418
418
of ``PyGC_Head `` discussed in the `Memory layout and object structure `_ section:
419
419
420
- .. warning ::
420
+ .. warning ::
421
421
422
- Because the presence of extra information, "tagged" or "fat" pointers cannot be
423
- dereferenced directly and the extra information must be stripped off before
424
- obtaining the real memory address. Special care needs to be taken with
425
- functions that directly manipulate the linked lists, as these functions
426
- normally assume the pointers inside the lists are in a consistent state.
422
+ Because the presence of extra information, "tagged" or "fat" pointers cannot be
423
+ dereferenced directly and the extra information must be stripped off before
424
+ obtaining the real memory address. Special care needs to be taken with
425
+ functions that directly manipulate the linked lists, as these functions
426
+ normally assume the pointers inside the lists are in a consistent state.
427
427
428
428
429
429
* The ``_gc_prev `` field is normally used as the "previous" pointer to maintain the
0 commit comments