Class instantiation question
Todd Johnson
overdrive_ss at yahoo.com
Tue Oct 7 22:26:10 CEST 2003
Thanks Carl,
def some_function(a,b):
try:
thisInstance = MyClass(a,b)
except ValueError:
handler_error()
else:
do_something_useful(thisInstance)
that is exactly what I was looking for. It has been a
while since I have had to do some exception handling.
Thanks for the refresher.
Todd
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
More information about the Python-list
mailing list