#3525: 3.0 exception changes in tutorial.

This commit is contained in:
Georg Brandl 2008-08-08 06:50:56 +00:00
parent 1e3830a178
commit f5f2630db6
2 changed files with 16 additions and 20 deletions

View file

@ -671,7 +671,7 @@ class or a base class thereof (but not the other way around --- an except clause
listing a derived class is not compatible with a base class). For example, the
following code will print B, C, D in that order::
class B:
class B(Exception):
pass
class C(B):
pass