diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-04-07 22:41:24 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-04-07 22:41:24 (GMT) |
commit | fb2ab4d5ae048ee29e98dee30b9f68652a34da85 (patch) | |
tree | 57904a90378197e66a85634595ffdff67c9079bd | |
parent | f6b8045ca5262f0d83eea3a279828a3f136f167f (diff) | |
download | cpython-fb2ab4d5ae048ee29e98dee30b9f68652a34da85.zip cpython-fb2ab4d5ae048ee29e98dee30b9f68652a34da85.tar.gz cpython-fb2ab4d5ae048ee29e98dee30b9f68652a34da85.tar.bz2 |
Comment repair; no semantic changes.
-rw-r--r-- | Modules/gcmodule.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 464786b..9017363 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -618,9 +618,10 @@ collect(int generation) debug_cycle("collectable", FROM_GC(gc)); } } - /* Call tp_clear on objects in the collectable set. This will cause - * the reference cycles to be broken. It may also cause some objects - * in finalizers and/or reachable_from_finalizers to be freed */ + /* Call tp_clear on objects in the unreachable set. This will cause + * the reference cycles to be broken. It may also cause some objects + * in finalizers to be freed. + */ delete_garbage(&unreachable, old); /* Collect statistics on uncollectable objects found and print @@ -651,7 +652,7 @@ collect(int generation) if (PyErr_Occurred()) { if (gc_str == NULL) - gc_str = PyString_FromString("garbage collection"); + gc_str = PyString_FromString("garbage collection"); PyErr_WriteUnraisable(gc_str); Py_FatalError("unexpected exception during garbage collection"); } |