From d34fa52a064c076afeeb3b1f775e7b333fb3b892 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Tue, 28 Mar 2006 19:10:40 +0000 Subject: [PATCH] answer a question from a comment --- Python/ceval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index 99dfc2d3b43..cc1eb97fe0b 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3659,9 +3659,9 @@ call_function(PyObject ***pp_stack, int oparg Py_DECREF(func); } - /* Clear the stack of the function object and the arguments, - in case they weren't consumed already. - XXX(twouters) when are they not consumed already? + /* Clear the stack of the function object. Also removes + the arguments in case they weren't consumed already + (fast_function() and err_args() leave them on the stack). */ while ((*pp_stack) > pfunc) { w = EXT_POP(*pp_stack);