Wow.. Andrew Koenig.. I found your name in many c++ books I read. Never know you are hanging around in python python mailing-list. (or perhaps python newsgroup, whatever it is)
Thanks for the explanation. Andrew Koenig wrote: >"Sakesun Roykiattisak" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] > > > >>Does c++ call base class constructor automatically ?? >>If I'm not wrong, in c++ you also have to call base class constructor >>explicitly. >> >> > >In C++, if you don't call a base-class constructor (I am saying "a" rather >than "the" because there might be more than one direct base class), it is >called automatically with no arguments. The only case in which you must >call it explicitly is if it will not accept an empty argument list. > > > > -- http://mail.python.org/mailman/listinfo/python-list