[IronPython] Problem with super

Anders M. Mikkelsen amm at selektro.dk
Thu Jul 12 01:02:59 PDT 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://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20070712/4e311bf5/attachment.htm 


More information about the users mailing list