[IronPython] Problem with super

Anders M. Mikkelsen amm at selektro.dk
Thu Jul 12 10:02:59 CEST 2007


Hi

I have some problems getting 'super' working with IronPython. 
Running the following simple script:

 class A:
     def Foo(self):
         pass

 class B(A):
     def Foo(self):
         super(B, self).Foo()

 B().Foo()

yields:

 TypeError: expected type, got classobj

Any ideas?


/anders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070712/4e311bf5/attachment.html>


More information about the Ironpython-users mailing list