From: Georg Brandl Date: Sat, 20 Oct 2007 13:22:53 +0000 (+0000) Subject: Fix code being interpreted as a target. X-Git-Tag: v2.6a1~1163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff27e0cd10b663cc5dec64be91c74ca232e81e81;p=python Fix code being interpreted as a target. --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 9b4b7dccf6..e8e5cf38aa 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.