Re: Problem of understanding inheritance

2006-12-06 Thread Robert Kern
matilda matilda wrote: > Hi all, > > I searched for a while, but didn't found answer to my question. > > I wrote the following little program: > > #!/usr/bin/python > import datetime as dt > class MyClass(dt.date): > def __init__(self, *args, **kwargs): >

Problem of understanding inheritance

2006-12-06 Thread matilda matilda
Hi all, I searched for a while, but didn't found answer to my question. I wrote the following little program: #!/usr/bin/python import datetime as dt class MyClass(dt.date): def __init__(self, *args, **kwargs): super(MyClass, self).__init__(*args,