[Python-checkins] cpython (merge 3.3 -> default): Merge example fix with 3.3.

ezio.melotti python-checkins at python.org
Sat Jan 5 05:54:53 CET 2013


http://hg.python.org/cpython/rev/3c15b940454d
changeset:   81289:3c15b940454d
parent:      81286:1bf7ae6c5324
parent:      81288:320e7b9b8002
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Sat Jan 05 06:54:38 2013 +0200
summary:
  Merge example fix with 3.3.

files:
  Doc/faq/design.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
--- a/Doc/faq/design.rst
+++ b/Doc/faq/design.rst
@@ -730,7 +730,7 @@
 reasonable uses of the "go" or "goto" constructs of C, Fortran, and other
 languages.  For example::
 
-   class label: pass  # declare a label
+   class label(Exception): pass  # declare a label
 
    try:
         ...

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list