diff options
author | Georg Brandl <georg@python.org> | 2008-08-08 06:50:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-08-08 06:50:56 (GMT) |
commit | f5f2630db64c64faa9cc45cd2f19982ae6648565 (patch) | |
tree | efb34acdc011a8199533a23cf61682ac4e8d1554 /Doc/tutorial/classes.rst | |
parent | 1e3830a1786fa7183d47145ec57fe1f42590601f (diff) | |
download | cpython-f5f2630db64c64faa9cc45cd2f19982ae6648565.zip cpython-f5f2630db64c64faa9cc45cd2f19982ae6648565.tar.gz cpython-f5f2630db64c64faa9cc45cd2f19982ae6648565.tar.bz2 |
#3525: 3.0 exception changes in tutorial.
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r-- | Doc/tutorial/classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index bf2d0aa..4e2423f 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -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 |