diff Python/ceval.c @ 37286:ab3efbca5c92 legacy-trunk

answer a question from a comment
author Armin Rigo <arigo@tunes.org>
date Tue, 28 Mar 2006 19:10:40 +0000
parents 2b7ece78e293
children c782cf6b516e
line wrap: on
line diff
--- a/Python/ceval.c	Tue Mar 28 18:30:05 2006 +0000
+++ b/Python/ceval.c	Tue Mar 28 19:10:40 2006 +0000
@@ -3659,9 +3659,9 @@
 		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);