Commit 8f169489 authored by Benjamin Peterson's avatar Benjamin Peterson

update comment

parent edfda1f9
...@@ -2573,7 +2573,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) ...@@ -2573,7 +2573,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
TARGET(WITH_CLEANUP) TARGET(WITH_CLEANUP)
{ {
/* At the top of the stack are 1-3 values indicating /* At the top of the stack are 1-6 values indicating
how/why we entered the finally clause: how/why we entered the finally clause:
- TOP = None - TOP = None
- (TOP, SECOND) = (WHY_{RETURN,CONTINUE}), retval - (TOP, SECOND) = (WHY_{RETURN,CONTINUE}), retval
...@@ -2586,9 +2586,9 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) ...@@ -2586,9 +2586,9 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
otherwise we must call otherwise we must call
EXIT(None, None, None) EXIT(None, None, None)
In the first two cases, we remove EXIT from the In the first three cases, we remove EXIT from the
stack, leaving the rest in the same order. In the stack, leaving the rest in the same order. In the
third case, we shift the bottom 3 values of the fourth case, we shift the bottom 3 values of the
stack down, and replace the empty spot with NULL. stack down, and replace the empty spot with NULL.
In addition, if the stack represents an exception, In addition, if the stack represents an exception,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment