Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb2ab4d

Browse files
committed
Comment repair; no semantic changes.
1 parent f6b8045 commit fb2ab4d

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Modules/gcmodule.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,9 +618,10 @@ collect(int generation)
618618
debug_cycle("collectable", FROM_GC(gc));
619619
}
620620
}
621-
/* Call tp_clear on objects in the collectable set. This will cause
622-
* the reference cycles to be broken. It may also cause some objects
623-
* in finalizers and/or reachable_from_finalizers to be freed */
621+
/* Call tp_clear on objects in the unreachable set. This will cause
622+
* the reference cycles to be broken. It may also cause some objects
623+
* in finalizers to be freed.
624+
*/
624625
delete_garbage(&unreachable, old);
625626

626627
/* Collect statistics on uncollectable objects found and print
@@ -651,7 +652,7 @@ collect(int generation)
651652

652653
if (PyErr_Occurred()) {
653654
if (gc_str == NULL)
654-
gc_str = PyString_FromString("garbage collection");
655+
gc_str = PyString_FromString("garbage collection");
655656
PyErr_WriteUnraisable(gc_str);
656657
Py_FatalError("unexpected exception during garbage collection");
657658
}

0 commit comments

Comments
 (0)