mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix code being interpreted as a target.
This commit is contained in:
parent
9b5e23148b
commit
ff27e0cd10
1 changed files with 5 additions and 3 deletions
|
@ -523,9 +523,9 @@ Miscellaneous opcodes.
|
||||||
context manager's :meth:`__exit__` bound method. Below that are 1--3 values
|
context manager's :meth:`__exit__` bound method. Below that are 1--3 values
|
||||||
indicating how/why the finally clause was entered:
|
indicating how/why the finally clause was entered:
|
||||||
|
|
||||||
* SECOND = None
|
* SECOND = ``None``
|
||||||
* (SECOND, THIRD) = (WHY_{RETURN,CONTINUE}), retval
|
* (SECOND, THIRD) = (``WHY_{RETURN,CONTINUE}``), retval
|
||||||
* SECOND = WHY_\*; no retval below it
|
* SECOND = ``WHY_*``; no retval below it
|
||||||
* (SECOND, THIRD, FOURTH) = exc_info()
|
* (SECOND, THIRD, FOURTH) = exc_info()
|
||||||
|
|
||||||
In the last case, ``TOS(SECOND, THIRD, FOURTH)`` is called, otherwise
|
In the last case, ``TOS(SECOND, THIRD, FOURTH)`` is called, otherwise
|
||||||
|
@ -535,6 +535,8 @@ Miscellaneous opcodes.
|
||||||
returns a 'true' value, this information is "zapped", to prevent ``END_FINALLY``
|
returns a 'true' value, this information is "zapped", to prevent ``END_FINALLY``
|
||||||
from re-raising the exception. (But non-local gotos should still be resumed.)
|
from re-raising the exception. (But non-local gotos should still be resumed.)
|
||||||
|
|
||||||
|
.. XXX explain the WHY stuff!
|
||||||
|
|
||||||
|
|
||||||
All of the following opcodes expect arguments. An argument is two bytes, with
|
All of the following opcodes expect arguments. An argument is two bytes, with
|
||||||
the more significant byte last.
|
the more significant byte last.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue