mirror of https://github.com/python/cpython
Merge example fix with 3.2.
This commit is contained in:
commit
87b83dd18c
|
@ -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:
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue