Using super()

Laszlo Nagy gandalf at designaproduct.biz
Wed Jul 19 09:12:11 EDT 2006


> I see, thank you.
>
> class MyConfig(ConfigParser, object):
>     def add_section(self, section)
>          super(MyConfig, self).add_section(section)
>
> seems to work and as expected. Is there anything wrong with it ?
>   
I have never seen this before. :) I don't know the answer, but I'm 
interested too.

   Laszlo




More information about the Python-list mailing list