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.
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com