diff options
Diffstat (limited to 'Doc/faq/design.rst')
-rw-r--r-- | Doc/faq/design.rst | 2 |
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: ... |