subclass constructor problem
nick at fly.srk.fer.hr
Tue Oct 5 13:31:09 CEST 2010
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:
In this version everything works fine. Notice lines 698, 703 and 708. If I remove those lines, those 3 methods return None or . Seems like __init__ won't run __parse, but other methods run it without problem.
So, what obvious thing am I missing? :-)
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
More information about the Python-list