All pastes #429629 Raw Edit

ayaz

public python v1 · immutable
·published 2007-04-08 10:32 UTC
rendered paste body
#!/usr/bin/python# -*- set tabstop=4 -*-import cgiclass CGIWrapper(cgi.FieldStorage):    def __init__(self):        super(CGIWrapper, self).__init__()if __name__ == "__main__":    c = CGIWrapper()---------Error----------------Traceback (most recent call last):  File "yoyo.py", line 17, in ?    c = CGIWrapper()  File "yoyo.py", line 9, in __init__    super(CGIWrapper, self).__init__()TypeError: super() argument 1 must be type, not classobj