projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c492502
)
Explain the clearing of the stack in a comment in Python/ceval.c's
author
Thomas Wouters
<thomas@python.org>
Fri, 10 Feb 2006 22:51:45 +0000
(22:51 +0000)
committer
Thomas Wouters
<thomas@python.org>
Fri, 10 Feb 2006 22:51:45 +0000
(22:51 +0000)
call_function(), rather than commenting on the lack of an explanation in a
comment.
Python/ceval.c
patch
|
blob
|
history
diff --git
a/Python/ceval.c
b/Python/ceval.c
index 777e981f1d69a6d9cd51b71fcd5ad4cb1ef13bcd..501a9a04bca131e0f9984fc3f9f3021f4a436f4d 100644
(file)
--- a/
Python/ceval.c
+++ b/
Python/ceval.c
@@
-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);