gh-137562: Remove reference for GC_REACHABLE in comment (GH-137563)

GC_REACHABLE is obsolete
This commit is contained in:
Sergey Miryanov 2025-08-09 05:32:45 -07:00 committed by GitHub
parent 3964f97489
commit c744b57fd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -570,8 +570,7 @@ _PyGC_VisitFrameStack(_PyInterpreterFrame *frame, visitproc visit, void *arg)
}
/* Subtract internal references from gc_refs. After this, gc_refs is >= 0
* for all objects in containers, and is GC_REACHABLE for all tracked gc
* objects not in containers. The ones with gc_refs > 0 are directly
* for all objects in containers. The ones with gc_refs > 0 are directly
* reachable from outside containers, and so can't be collected.
*/
static void