* John Fouhy <[EMAIL PROTECTED]> [051130 19:21]:
<..snip...>
> On 01/12/05, Tim Johnson <[EMAIL PROTECTED]> wrote:
> superclass __init__ methods, or when you want to call them. So, it is
> up to you to make that call.
>
> You can do that like this:
>
> class sub(test):
> def __init__(self):
> test.__init__(self)
>
> Because self.s is only created in test.__init__, you have to call the
> __init__ method to get access to it.
>
> HTH!
:-) It does indeed!
thanks everybody
tim
--
Tim Johnson <[EMAIL PROTECTED]>
http://www.alaska-internet-solutions.com
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor