diff options
author | Armin Rigo <arigo@tunes.org> | 2006-03-28 19:10:40 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2006-03-28 19:10:40 (GMT) |
commit | d34fa52a064c076afeeb3b1f775e7b333fb3b892 (patch) | |
tree | f1dc80f980ba6566b583566b6fc629a7d78f8a84 | |
parent | 1d278fc7d0fdcc09085b4dfe12128a501500d453 (diff) | |
download | cpython-d34fa52a064c076afeeb3b1f775e7b333fb3b892.zip cpython-d34fa52a064c076afeeb3b1f775e7b333fb3b892.tar.gz cpython-d34fa52a064c076afeeb3b1f775e7b333fb3b892.tar.bz2 |
answer a question from a comment
-rw-r--r-- | Python/ceval.c | 6 |
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); |