[Python-checkins] r42313 - python/trunk/Python/ceval.c
thomas.wouters
python-checkins at python.org
Fri Feb 10 23:51:46 CET 2006
Author: thomas.wouters
Date: Fri Feb 10 23:51:45 2006
New Revision: 42313
Modified:
python/trunk/Python/ceval.c
Log:
Explain the clearing of the stack in a comment in Python/ceval.c's
call_function(), rather than commenting on the lack of an explanation in a
comment.
Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c (original)
+++ python/trunk/Python/ceval.c Fri Feb 10 23:51:45 2006
@@ -3590,7 +3590,8 @@
Py_DECREF(func);
}
- /* What does this do? */
+ /* Clear the stack of the function object and the arguments,
+ in case they weren't consumed already */
while ((*pp_stack) > pfunc) {
w = EXT_POP(*pp_stack);
Py_DECREF(w);
More information about the Python-checkins
mailing list