diff Python/ceval.c @ 36475:1c3b15df67a2 legacy-trunk

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.
author Thomas Wouters <thomas@python.org>
date Fri, 10 Feb 2006 22:51:45 +0000
parents 9541369b0dca
children 7fdc639bc5b4
line wrap: on
line diff
--- a/Python/ceval.c	Fri Feb 10 22:15:09 2006 +0000
+++ b/Python/ceval.c	Fri Feb 10 22:51:45 2006 +0000
@@ -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);