I found the problem. the 'from' section should not contain the subclass name
On Aug 4, 1:54 pm, Ori <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED]://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
