[IronPython] Inheritance from a c# subclass

Ori oorrii at gmail.com
Sun Aug 5 08:49:56 CEST 2007


I found the problem. the 'from' section should not contain the
subclass name

On Aug 4, 1:54 pm, Ori <oor... at gmail.com> wrote:
> Hello,
>
> I have a public subclass in an assembly I reference. I want to create a new
> python class which inherits from the subcalss.
>
> I tried:
> from MyNamespace import MyClass.MySubClass
> class PyClass(MyClass.MySubClass)
>
> but I got the following compile error: unexpected token .
>
> Is there a way to do it?
>
> Thanks,
> Ori
>
> --
> View this message in context:http://www.nabble.com/Inheritance-from-a-c--subclass-tf4216398.html#a...
> Sent from the IronPython mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list