]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-137562: Remove reference for GC_REACHABLE in comment (GH-137563)
authorSergey Miryanov <sergey.miryanov@gmail.com>
Sat, 9 Aug 2025 12:32:45 +0000 (05:32 -0700)
committerGitHub <noreply@github.com>
Sat, 9 Aug 2025 12:32:45 +0000 (21:32 +0900)
GC_REACHABLE is obsolete

Python/gc.c

index 1050eae60fd337286f5fdbce0ce10993ed62fb42..03455e88d5eeb17cae5999e052cef48b44de6d4d 100644 (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