trouble understanding inheritance...

KraftDiner bobrien18 at yahoo.com
Wed Aug 16 16:18:48 EDT 2006


Simon Brunning wrote:
> 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.
>
I agree... welll... quite... :)


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




More information about the Python-list mailing list