mirror of https://github.com/python/cpython
Merge example fix with 3.3.
This commit is contained in:
commit
0ae3525e85
|
@ -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