From 03ca23d892bae3f3b524f8230e417903c3f5b134 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Fri, 10 Feb 2006 22:51:45 +0000 Subject: 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. --- Python/ceval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Python/ceval.c b/Python/ceval.c index 777e981..501a9a0 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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); -- cgit v0.12