summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-05 04:54:38 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-05 04:54:38 (GMT)
commit0ae3525e85080c1e6a0abd101941f29465034b0d (patch)
tree210756c336c729b299cc4f0f5987d8568a77f949 /Doc/faq
parentd05d3cc4ebab3f8e6cf42ed93fceac8c01e46db6 (diff)
parent87b83dd18c91101b783c6d1a753b91beff93f8bb (diff)
downloadcpython-0ae3525e85080c1e6a0abd101941f29465034b0d.zip
cpython-0ae3525e85080c1e6a0abd101941f29465034b0d.tar.gz
cpython-0ae3525e85080c1e6a0abd101941f29465034b0d.tar.bz2
Merge example fix with 3.3.
Diffstat (limited to 'Doc/faq')
-rw-r--r--Doc/faq/design.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst
index 6b8a8fd..5591264 100644
--- a/Doc/faq/design.rst
+++ b/Doc/faq/design.rst
@@ -730,7 +730,7 @@ function calls. Many feel that exceptions can conveniently emulate all
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:
...