mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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.
This commit is contained in:
parent
c49250264d
commit
03ca23d892
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue