summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c3
1 files changed, 2 insertions, 1 deletions
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);