Skip to content

Commit b40b030

Browse files
committed
Fix typo and indentation
1 parent 722a99c commit b40b030

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

garbage_collector.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,12 @@ word-aligned addresses end in ``000``, leaving the last 3 bits available.
399399
The CPython GC makes use of two fat pointers:
400400

401401
* The ``_gc_prev``` field is normally used as the "previous" pointer to maintain the
402-
doubly linked list but the lowest two bits of are used to keep some flags like
403-
``PREV_MASK_COLLECTING`` and ``_PyGC_PREV_MASK_FINALIZED``. Between collections, the
404-
only flag that can be present is ``_PyGC_PREV_MASK_FINALIZED`` that indicates if an
405-
object has been already finalized. During collections ``_gc_prev`` is temporary
406-
used for storing the temporary copy of the reference count (``gc_refs``), and the
407-
GC linked list becomes a singly linked list until ``_gc_prev`` is restored.
402+
doubly linked list but its lowest two bits are used to keep some flags like
403+
``PREV_MASK_COLLECTING`` and ``_PyGC_PREV_MASK_FINALIZED``. Between collections,
404+
the only flag that can be present is ``_PyGC_PREV_MASK_FINALIZED`` that indicates
405+
if an object has been already finalized. During collections ``_gc_prev`` is
406+
temporary used for storing the temporary copy of the reference count (``gc_refs``),
407+
and the GC linked list becomes a singly linked list until ``_gc_prev`` is restored.
408408

409409
* The ``_gc_next`` field is used as the "next" pointer to maintain the doubly linked
410410
list but during collection its lowest bit is used to keep the

0 commit comments

Comments
 (0)