[Python-checkins] r58559 - python/trunk/Doc/library/dis.rst

georg.brandl python-checkins at python.org
Sat Oct 20 15:22:54 CEST 2007


Author: georg.brandl
Date: Sat Oct 20 15:22:53 2007
New Revision: 58559

Modified:
   python/trunk/Doc/library/dis.rst
Log:
Fix code being interpreted as a target.


Modified: python/trunk/Doc/library/dis.rst
==============================================================================
--- python/trunk/Doc/library/dis.rst	(original)
+++ python/trunk/Doc/library/dis.rst	Sat Oct 20 15:22:53 2007
@@ -523,9 +523,9 @@
    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 @@
    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.


More information about the Python-checkins mailing list