C
chris
hi,
i am wondering if there is a difference between the following
possibilities to raise an exception, the first seems to be in all the
books about python i have but the second gives the same result at least
under Python 2.3.3:
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
Exception: MESSAGE
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
Exception: MESSAGE
is there a preferable way?
thanks
chris
i am wondering if there is a difference between the following
possibilities to raise an exception, the first seems to be in all the
books about python i have but the second gives the same result at least
under Python 2.3.3:
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
Exception: MESSAGE
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
Exception: MESSAGE
is there a preferable way?
thanks
chris