trouble understanding inheritance...

Simon Brunning simon at brunningonline.net
Wed Aug 16 16:00:06 EDT 2006


On 16 Aug 2006 12:53:12 -0700, KraftDiner <bobrien18 at yahoo.com> wrote:
> I can see that this might work...
> c = [a, b]
> for c in [a,b]:
>    c.getName()
>
> but when does baseClass ever get used?
> Why did i even have to define it?

Well, quite.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list