https://github.com/python/cpython/commit/c744b57fd61f200d0a40650a82cc55d0240a710d
commit: c744b57fd61f200d0a40650a82cc55d0240a710d
branch: main
author: Sergey Miryanov <sergey.mirya...@gmail.com>
committer: methane <songofaca...@gmail.com>
date: 2025-08-09T21:32:45+09:00
summary:

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

GC_REACHABLE is obsolete

files:
M Python/gc.c

diff --git a/Python/gc.c b/Python/gc.c
index 1050eae60fd337..03455e88d5eeb1 100644
--- a/Python/gc.c
+++ b/Python/gc.c
@@ -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

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to