Peibolvig added the comment:
Oh, I see. Thanks for the clarification.
May I suggest to include that clarification into the documentation somehow? I
think it would be easier to understand the point of the raises doing that.
Maybe this suggestion could fit:
In the first form, Class must be an
New submission from Peibolvig:
At point 9.8 of the 3.4.1 version documentation, (
https://docs.python.org/3/tutorial/classes.html#exceptions-are-classes-too ),
there is an example of two ways to use the 'raise' statement:
raise Class
raise Instance
The next two lines, state:
&qu