[IronPython] Base-class constructor

Steven Cummings estebistec at gmail.com
Fri Feb 18 16:43:19 CET 2005


I apologize if this has already been discussed on the list, but I
couldn't find anything by searcing in the archives.

I'm trying to call the constructor of Form as follows:

class MyForm(System.Windows.Forms.Form):
    def __init__(self, title):
        System.Windows.Forms.Form.__init__(self)
        ....

and I'm getting an attribute error on __init__. So how do I get the
base-constructor? Thanks.

/S



More information about the Ironpython-users mailing list