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.
This commit is contained in:
Thomas Wouters 2006-02-10 22:51:45 +00:00
parent c49250264d
commit 03ca23d892

View file

@ -3590,7 +3590,8 @@ call_function(PyObject ***pp_stack, int oparg
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);