Issue 1710295: Tutorial - Section 8.3 - <type 'instance'> (original) (raw)

In section 8.3 of the Tutorial, after a paragraph saying "But use of .args is discouraged" is a code sample; in this sample, I believe the line

<type 'instance'>

should be changed to

<type 'exceptions.Exception'>

At least, that's what I get when I input the sample... and it certainly makes more sense.

Python version: 2.5.1 OS: Microsoft Windows XP Professional x64 Edition Version 2003 Service Pack 1 (taken from the System Properties / General page...)