Re: subclass constructor problem

2010-10-06 Thread bruno.desthuilli...@gmail.com
On 5 oct, 17:52, de...@web.de (Diez B. Roggisch) wrote: Btw, you are a bit on the overprotective side. The convention for marking attributes (methods or objects alike) private s/private/implementation/ I find that thinking in terms of interface / implementation instead of public / private

subclass constructor problem

2010-10-05 Thread Nikola Skoric
I have a superclass Element and a subclass Family. All Family.__init__() does is run Element.__init__() and self.__parse(). For some reason it seems like self.__parse() isn't run. Here is the code:

Re: subclass constructor problem

2010-10-05 Thread Diez B. Roggisch
Nikola Skoric n...@fly.srk.fer.hr writes: I have a superclass Element and a subclass Family. All Family.__init__() does is run Element.__init__() and self.__parse(). For some reason it seems like self.__parse() isn't run. Here is the code: