Shouldn't super work with webkit? basically why does this generate an
error:
from WebKit.Page import Page
class sutest(Page):
def __init__(self):
super(sutest, self).__init__()
self.val = 'test'
def writeContent(self):
self.write(self.val)
the error I get is :
super() argument 1 must be type, not classobj
I'm still pretty green about pythons new style classes,
but I thought that webware was compatible with new style classes and thus super should work.
Is this not the case?
Jose
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss