[Tutor] Regarding Exceptions

Khalid Al-Ghamdi emailkgnow at gmail.com
Mon Feb 17 12:29:46 CET 2014


Hi,
in the following snippet, why is it I don't need to create an Exception
object and I can use the class directly in raise my custom exception?

<iframe src="http://pastebin.com/embed_iframe.php?i=7ANcvLHR"
style="border:none;width:100%"></iframe>
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140217/a180b924/attachment.html>


More information about the Tutor mailing list