| Joel Uckelman on Fri, 10 Dec 2004 12:12:42 -0600 (CST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: [nimh-dev] virtual member functions |
Thus spake "Jon Stewart": > > When I change the second line of message.py to 'import email.Message', and > th > > e base class in the constructor to 'email.Message', I get the following: > > > > File "/home/uckelman/projects/nimh/trunk/lib/nimh/Message.py", line 4, in > ? > > class Message(email.Message): > > TypeError: function takes at most 2 arguments (3 given) > > > > I don't see how I'm giving 3 arguments here. I think I'm giving 1. > > I don't think you are dealing with the constructor correctly. I think > that's what it's complaining about. How should the constructor be, then? -- J. _______________________________________________ nimh-dev mailing list nimh-dev@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/nimh-dev