summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-05 04:54:23 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-05 04:54:23 (GMT)
commit87b83dd18c91101b783c6d1a753b91beff93f8bb (patch)
treeefc48e098c9f1dcdb924be29eddba93de26df236 /Doc
parent7d4866908524f9dbdd3786ebe2ea3ad3b44c01ff (diff)
parent19cdee891ed1320c7f6c6ec54df7d4c838bdc317 (diff)
downloadcpython-87b83dd18c91101b783c6d1a753b91beff93f8bb.zip
cpython-87b83dd18c91101b783c6d1a753b91beff93f8bb.tar.gz
cpython-87b83dd18c91101b783c6d1a753b91beff93f8bb.tar.bz2
Merge example fix with 3.2.
Diffstat (limited to 'Doc')
-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:
...