Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 86772:7fa3e824a4ee 3.3
update comment
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Tue, 29 Oct 2013 22:25:06 -0400 |
| parents | 2aee9c41bb79 |
| children | 28c04e954bb6 |
line wrap: on
line diff
--- a/Python/ceval.c Tue Oct 29 22:20:52 2013 +0100 +++ b/Python/ceval.c Tue Oct 29 22:25:06 2013 -0400 @@ -2573,7 +2573,7 @@ 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: - TOP = None - (TOP, SECOND) = (WHY_{RETURN,CONTINUE}), retval @@ -2586,9 +2586,9 @@ otherwise we must call 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 - 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. In addition, if the stack represents an exception,
