[IronPython] System.MissingMemberException

Marcin Krol mrkafk at gmail.com
Fri Jul 9 16:08:39 CEST 2010


Hello everyone,


Ok I found the cause, the __init__ filled in from the template is 
exactly one space to the left from where it should be:

class MyForm(Form):
     def __init__(self):
...
      def func(self, x):
          return x

If I shift "def __init__.." one space to the right, everything works.

But why I got such a strange exception?

And isn't there some sort of tab nanny or "inconsistent layout" exception?

-- 

Regards,
mk

--
Premature optimization is the root of all fun.




More information about the Ironpython-users mailing list