help using smptd

Heiko Wundram me at modelnine.org
Sun May 14 23:59:32 CEST 2006


Am Sonntag 14 Mai 2006 23:47 schrieb Dennis Lee Bieber:
> On Sun, 14 May 2006 20:47:33 GMT, Edward Elliott <nobody at 127.0.0.1>
>
> declaimed the following in comp.lang.python:
> > class SMTPProxy (smtpd.SMTPServer):
>
> 	Don't you need to have an __init__() that invokes SMTPServer's
> __init__()?

If you don't define an __init__() yourself (as it seems to be the case here), 
MRO (and the rules associated with class methods) will take care that the 
base class' __init__() gets called automatically.

--- Heiko.



More information about the Python-list mailing list