> And here's the error message I get:
>
> Traceback (most recent call last):
>   File "e:/PyEN/inherit.py", line 16, in <module>
>     N = NewPage();
>   File "e:/PyEN/inherit.py", line 12, in __init__
>     super(NewPage, self).__init__();
> TypeError: super() argument 1 must be type, not classobj
>   
Super works correctly for new-style classes only. Try to inherit from 
"object".

class HTMLMain(object):




Best,

   Laszlo

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to