|
From: Brian Z. <bri...@ya...> - 2001-02-13 01:17:16
|
If I write:
def init(self):
# do something
pass
I got: TypeError: init() too many arguments; expected 1 got 2
If I write:
def init(self, config):
javax.servlet.http.HttpServlet.init(self, config) # line 14, want
to do super.init(config) here
# do something
pass
I got:
line 14, in init
TypeError: init() not enough arguments; expected 2 got 1
Am I missing anything?
/Brian
|