summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2006-03-28 19:10:40 (GMT)
committerArmin Rigo <arigo@tunes.org>2006-03-28 19:10:40 (GMT)
commitd34fa52a064c076afeeb3b1f775e7b333fb3b892 (patch)
treef1dc80f980ba6566b583566b6fc629a7d78f8a84
parent1d278fc7d0fdcc09085b4dfe12128a501500d453 (diff)
downloadcpython-d34fa52a064c076afeeb3b1f775e7b333fb3b892.zip
cpython-d34fa52a064c076afeeb3b1f775e7b333fb3b892.tar.gz
cpython-d34fa52a064c076afeeb3b1f775e7b333fb3b892.tar.bz2
answer a question from a comment
-rw-r--r--Python/ceval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 99dfc2d..cc1eb97 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);