Calling the parent class' __init__
Thomas Gagne
tgagne at ix.netcom.com
Fri Oct 6 00:00:23 EDT 2000
More information about the Python-list mailing list
Fri Oct 6 00:00:23 EDT 2000
- Previous message (by thread): Calling the parent class' __init__
- Next message (by thread): Calling the parent class' __init__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A parent class defines some instance variables I want to access in the subclass. I thought I was supposed to call the super class' __init__ but whenever I tried I got errors so I didn't--but the first time I tried accessing the super's instance variable (oddly enough, in one of the super's methods) I got a name error. Wierd. Does anyone have some pointers? -- .tom
- Previous message (by thread): Calling the parent class' __init__
- Next message (by thread): Calling the parent class' __init__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list