>
> Shouldn't that be
>
> beagle = animal.dog()
>
> to create an instance?
>
> We've all done it ...
lol - actually Im confused about this - there seem to be cases where
instantiaing with:
instance=module.classname()
gives me an error, but
instance=module.classname
doesnt - so I got into that habit, except for where I had a constructor
with parameters - except now Im feeling foolish because I cant
replicate the error - which suggests I didnt understand the error
message properly in the first place... arrgh
I guess thats just part of the process of gaining a new language.

glenn

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to