calling upper constructor

Yura Ushakhow yura at sunet.ru
Thu Jan 31 22:00:57 EST 2002


Hello.

What do you do to call __init__ of an upper class?
Like

class base:
   def __init__(self):
     a = 1
class abc(base):
   def __init__(self):
     # how do I call base's init here?

Couldn't find it in the docs..
Thanks in advance!




More information about the Python-list mailing list