mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Bug #1710295: exceptions are now new-style classes.
This commit is contained in:
parent
68bb9a1418
commit
5a006b3978
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue