Skip to content

Commit 2a37cd4

Browse files
committed
Fix unreachable = collected + uncollectable.
1 parent 56c6eab commit 2a37cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,7 +2128,7 @@ _PyGC_Collect(PyThreadState *tstate, int generation, _PyGC_Reason reason)
21282128
double d = PyTime_AsSecondsDouble(endtime - now);
21292129
PySys_WriteStderr(
21302130
"gc: done, %zd unreachable, %zd uncollectable, %.4fs elapsed\n",
2131-
stats.collected, stats.uncollectable, d
2131+
stats.collected + stats.collected, stats.uncollectable, d
21322132
);
21332133
}
21342134

0 commit comments

Comments
 (0)