Bug #1710295: exceptions are now new-style classes.

This commit is contained in:
Georg Brandl 2007-05-01 06:04:11 +00:00
parent 68bb9a1418
commit 5a006b3978

View file

@ -3556,7 +3556,7 @@ as desired.
... print 'x =', x ... print 'x =', x
... print 'y =', y ... print 'y =', y
... ...
<type 'instance'> <type 'exceptions.Exception'>
('spam', 'eggs') ('spam', 'eggs')
('spam', 'eggs') ('spam', 'eggs')
x = spam x = spam