File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -403,8 +403,9 @@ The CPython GC makes use of two fat pointers:
403
403
``PREV_MASK_COLLECTING `` and ``_PyGC_PREV_MASK_FINALIZED ``. Between collections,
404
404
the only flag that can be present is ``_PyGC_PREV_MASK_FINALIZED `` that indicates
405
405
if an object has been already finalized. During collections ``_gc_prev `` is
406
- temporarily used for storing the temporarily copy of the reference count (``gc_refs ``),
407
- and the GC linked list becomes a singly linked list until ``_gc_prev `` is restored.
406
+ temporarily used for storing a copy of the reference count (``gc_refs ``), in
407
+ addition to two flags, and the GC linked list becomes a singly linked list until
408
+ ``_gc_prev `` is restored.
408
409
409
410
* The ``_gc_next `` field is used as the "next" pointer to maintain the doubly linked
410
411
list but during collection its lowest bit is used to keep the
You can’t perform that action at this time.
0 commit comments