summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-20 13:22:53 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-20 13:22:53 (GMT)
commitff27e0cd10b663cc5dec64be91c74ca232e81e81 (patch)
treed3fce6b20ae17ded62d662e601173c2dce13b472 /Doc/library
parent9b5e23148badbb0d11fffd05cf9d432f35631a4a (diff)
downloadcpython-ff27e0cd10b663cc5dec64be91c74ca232e81e81.zip
cpython-ff27e0cd10b663cc5dec64be91c74ca232e81e81.tar.gz
cpython-ff27e0cd10b663cc5dec64be91c74ca232e81e81.tar.bz2
Fix code being interpreted as a target.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 9b4b7dc..e8e5cf3 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -523,9 +523,9 @@ Miscellaneous opcodes.
context manager's :meth:`__exit__` bound method. Below that are 1--3 values
indicating how/why the finally clause was entered:
- * SECOND = None
- * (SECOND, THIRD) = (WHY_{RETURN,CONTINUE}), retval
- * SECOND = WHY_\*; no retval below it
+ * SECOND = ``None``
+ * (SECOND, THIRD) = (``WHY_{RETURN,CONTINUE}``), retval
+ * SECOND = ``WHY_*``; no retval below it
* (SECOND, THIRD, FOURTH) = exc_info()
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``
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
the more significant byte last.